Keshav Kumar's submission of NUMBER OF WAYS | CodeChef