Ashok's submission of Buddy NIM | CodeChef