#C9069. Prime Number Checker

    ID: 53121 Type: Default 1000ms 256MiB

Prime Number Checker

Prime Number Checker

Given a positive integer (n), determine whether it is a prime number. A prime number is an integer greater than 1 that has no divisors other than 1 and itself. Your task is to implement a function to check the primality of the given number and print (True) if it is prime, and (False) otherwise.

inputFormat

The input consists of a single integer (n) read from standard input (stdin).

outputFormat

Output (True) if the given number is prime, otherwise output (False). The result should be printed to standard output (stdout).## sample

2
True

</p>