Iaroslav Tverdokhlib's submission of Reversing directions | CodeChef