Devesh Agarwal's submission of Matchsticks | CodeChef