learner's submission of Playing with Matches | CodeChef