Module: Prime numbers and factorization of a number into prime factors


Problem

1 /9


Simplicity test

Problem

Check if a number is prime.

Input 
Enter one natural number n not exceeding 2000000000 and not equal to 1.

Imprint 
Output  string prime if the number is prime, or composite if the number is composite.
 
Examples
# Input Output
1 5 prime