Prateek Sharma's submission of Buddy NIM | CodeChef