Phoenix and Puzzle

Problem Name:
Phoenix and Puzzle
Site:CodeForces
Links:
Tags:
Problem setters: