codechef; solve "Ciel and Receipt"