Shailesh Vashisth's submission of Three Friends | CodeChef