Didnt bother with amarms after realising what it took to get min. I just hope somebody else found min amarms. This solve is pretty compact but the initial input delivery could be compacted by 5 area or so with some iteration.