http://www.codechef.com/APRIL14/problems/POTATOES
http://www.codechef.com/APRIL14/problems/BINTREE