Add solution for MARCHA1

http://www.codechef.com/problems/MARCHA1/