#t37. 判断素数

判断素数

Prime Number Check

Problem Description

Given a positive integer nn, determine whether it is a prime number. If it is prime, print 11; otherwise print 00.

(Terminology: a prime number is a natural number greater than 11 that has no divisors other than 11 and itself.)

Input Format

The input consists of one line containing a positive integer nn.

Output Format

Print one line containing a single integer, 11 or 00, indicating whether nn is prime.

Sample Input

7

Sample Output

1

Constraints

1<n<1051 < n < 10^5