n = int(input('Enter a value')) i=1 count=0 while i<=n: if n%i==0: count = count+1 i=i+1 if count==2: print('Prime') else: print('Not prime')