# [Jelly](http://github.com/DennisMitchell/jelly), 8 bytes ;E¡0ỤḢṬ+ [Try it online!](http://jelly.tryitonline.net/#code=O0XCoTDhu6ThuKLhuawr&input=&args=WzMsIDQsIDksIDNd)