HIR180's submission of Minimum Product | CodeChef