Problem Description

Read integer n, output PRIME if it is prime else NOT. Use loop up to sqrt and break early.

Input Format

One integer n.

Output Format

PRIME or NOT.

Sample Test Case

Input:
49
Output:
NOT

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next