Prime Numbers(简单)

来源:互联网 发布:ubuntu upstart 脚本 编辑:程序博客网 时间:2024/04/28 13:53

Description

Given an integer number, you are required to find out whether it's a prime number.

Input

The first line contains the number of test cases T (1 <= T <= 20 ), 
then the following T lines each contains an integer number N (0 < N < 4,000,000,000).

Output

For each test case, if N is a prime number, output a line containing the word "Prime", 
otherwise, output the word "No".

Sample Input

35103999999997

Sample Output

PrimeNoNo
代码


0 0
原创粉丝点击