Problem B: 素数判断(函数练习)

Problem B: 素数判断(函数练习)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

写一个判断素数的函数,在主函数输入一个整数,输出是否是素数的消息。

Input

一个数

Output

如果是素数输出prime 如果不是输出not prime

Sample Input Copy

97

Sample Output Copy

prime