Iaroslav Tverdokhlib's submission of Pleasing the Martian King | CodeChef