Prateek Gupta's submission of Three Friends | CodeChef