def solve(): return primes().drop(10000).next()
def solve(): return primes() \ .takewhile(lambda prime: prime < 2000000) \ .sum()