Masoom Mittal's submission of Three Friends | CodeChef