https://www.brokenprogrammers.com/find-remainder-codechef-solution/