XY's submission of Short II | CodeChef