TLE in PRODUCT

I am getting TLE in the second test case. CodeChef: Practical coding for everyone