Problem1046--素数判断

1046: 素数判断

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

Description

素数:只能被1和它自身整除的数。输入一个正整数n(n>=2),判断n是否是素数。

Input

输入一个正整数n。

Output

如果n是素数输出1,否则输出0。

Sample Input Copy

4
5

Sample Output Copy

0
1

Source/Category

admin