num = int(input('enter a number : ')) while num%2 and num%3 and num%5 ==0: print( "it is not a prime nunber") break else: print( "it is a prime nunber")