Vivek Chauhan's submission of Buddy NIM | CodeChef