apple pie's submission of Count the Holidays | CodeChef