Starting code for chocolate feast
Solved logic using division and mod