SHIVAM PAWASE's submission of PRIME | CodeChef