Shailesh Vashisth's submission of Reduce to One | CodeChef