shubham verma's submission of PRIME | CodeChef