Adarsh Kumar's submission of Three Friends | CodeChef