Priyanshu Tiwari's submission of Reduce to One | CodeChef