ACM-ICPC Regional Contest, Jakarta 2009 Problem A Mystic Craft In the Ancient Clash of Mystic Pandas (ACM Pandas) game, the player plays the role of a Panda Knight who needs…