Divyam's submission of Three Friends | CodeChef