def np(n): i = 0 for x in xrange(n-1): if((n % (x+1)) is 0): i = i + x + 1 if(i is 1): return true else: return false