Codechef: Sept 2013 Challenge & Cook Off Problems