text: def genPrimes():
      primes = []
      last = 1
      while True:
          last += 1
          for p in primes:
              if last % p == 0:
                  break
          else:
              primes.append(last)
              yield last
              
  n = genPrimes()
  