Abhinav Kumar's submission of Three Friends | CodeChef