Joy Das's submission of Three Friends | CodeChef