manas agrawal's submission of Dual Nim | CodeChef