A-Mazing Puzzle

Problem Name:
A-Mazing Puzzle
Site:CodeForces
Links:
Tags: