unsuccessful attempt for codechef feb challenge