Rosetta Problems

しょうじききつね と うそつきにんげん (Honest Fox and Dishonest Man)

https://atcoder.jp/contests/ijpc2012-3/tasks/ijpc_honest