Is Prime

RMSTU Technological Festi...
Limits 1s, 512 MB

Given an integer $N$, determine if it is a prime a number.

A number is called prime if it is only divisible by itself.

Input

The input will contain one integer $N$ ($0 < N < 1000$).

Output

Print $\texttt{Yes}$ if the integer is prime, otherwise $\texttt{No}$.

Sample

InputOutput
7
Yes

Submit

Login to submit.

Statistics

92% Solution Ratio
shipansmEarliest, Nov '18
shipansmFastest, 0.0s
CCS_RUSHIKONLightest, 0 B
n4o847Shortest, 26B
Toph uses cookies. By continuing you agree to our Cookie Policy.