# [Jelly], 13 bytes

    Dd4d2FṙJ$ḄṢIS

[Try it online!][TIO-ja2mp4fy]

[Jelly]: https://github.com/DennisMitchell/jelly
[TIO-ja2mp4fy]: https://tio.run/##y0rNyan8/98lxSTFyO3hzpleKg93tDzcucgz@P/RPYfbHzWtcf//38jYREfBEErqKFiam1oYG@oomBhbGpibQASAkhYGZoYA "Jelly – Try It Online"