Samarth Agarwal's submission of Sherlock Counts Ways | CodeChef