codechef factorial1 problem