First problem attempt for codechef contest

techfest portal round