Andrey Kim's submission of Attic Crossing | CodeChef