math's submission of Fombinatorial | CodeChef