TLE in PRODUCT

I am getting TLE in the second test case. Solution: 59032063 | CodeChef