Kunal Singhal's submission of Fombinatorial | CodeChef