kiên nguyễn's submission of Reduce to One | CodeChef