subhashis mollick's submission of Reduce to One | CodeChef