Vyxal, 16 bytes kakAkdW₌ṅƛL½Ǔ;ṅĿ Try it Online!
posted 2y ago by steffan153
# [Vyxal](https://github.com/Vyxal/Vyxal), 16 bytes ``` kakAkdW₌ṅƛL½Ǔ;ṅĿ ``` [Try it Online!](https://vyxal.pythonanywhere.com/#WyJBIiwiIiwia2FrQWtkV+KCjOG5hcabTMK9x5M74bmFxL8iLCIiLCJcImduYXQgaXJrIHRlcnJhXCJcblwiMjQ2OFwiXG5cIiMlJkAsLjo7P1wiXG5cIlJvdDEzLjUgJiBFYmc2OC4wXCIiXQ==)