I was getting Wrong Answer in private test cases. Can anybody please help me?

```
import math
from itertools import permutations
primes = []
def getPrimes(limit):
for i in range(2, limit+1):
isPrime = True
for j in range(2, i//2 + 1):
if i%j == 0:
isPrime = False
break
if isPrime:
primes.append(i)
if __name__ == "__main__":
getPrimes(10000)
n1, n2 = [int(x) for x in input().split()]
filtered_primes = [x for x in primes if x >= n1 and x <= n2]
l = [int(str(x[0]) + str(x[1])) for x in list(set(permutations(filtered_primes, 2))) if int(str(x[0]) + str(x[1])) in primes]
l = list(set(l))
a = min(l)
b = max(l)
count = len(l)
for c in range(3, count+1):
s = a + b
a = b
b = s
print(b, end="")
```

Thanks in advanceâ€¦