Ivan's submission of Number Wars | CodeChef