hemanth baliji's submission of Three Friends | CodeChef