# [Japt], 11 bytes

    ò¦ ®m<<Ãc x

[Try it online!][1]

[Japt]:https://github.com/ETHproductions/japt
[1]:https://codepen.io/justinm53/full/NvKjZr?code=8qYgrm08PMNjIHg=&inputs=WzEsMSwxLDEsMSwxLDEsMSwxLDFd,WzEsMSwxLDEsMSwxLC0xLC0xLC0xLC0xLDEsMSwxXQ==,Wy0xLC0xLDEsMSwtMSwtMSwtMV0=,WzFd,Wy0xXQ==,Wy0xLDEsLTEsMSwtMSwxLC0xLDEsLTEsMSwtMSwxXQ==