Prateek Gupta's submission of Buddy NIM | CodeChef