Kanstantsin Sokal's submission of Fombinatorial | CodeChef