Shailesh Vashisth's submission of Buddy NIM | CodeChef