Ivan Mistreanu's submission of Matchsticks | CodeChef