-->
当前位置:首页 > 题库

PROGRAMMING:Judge prime

Luz5年前 (2021-05-10)题库455
Input a positive integer m, if it is a prime, output "yes", otherwise, output "no" (a prime is a positive integer that can only be divided by 1 and itself, 1 is not a prime, 2 is a prime).
###Input format:
Enter a positive integer m on one line.
###Output format:
For each set of inputs, output the result in one line and wrap it.
###Input example:
```in
seventeen
```
###Output example:
```out
YES
```






answer:If there is no answer, please comment