anushka tayal's submission of PRIME | CodeChef