tried 1165: The Primes, answer logically correct but TLE