def primes(): p=[2,3] i=5 while True: isPrime = True for k in p: if i%k==0: isPrime = False break if i0: d[k]=c if n=3: print "YES" else: print "NO"