import math,primecache

def isSquare(num):
    return math.sqrt(num) == int(math.sqrt(num))

print(primecache.primelist(10**6))