http://acm.nyist.net/JudgeOnline/problem.php?pid=35
http://acm.nyist.net/JudgeOnline/problem.php?pid=114