#AM3K101. 判断是否为质数

判断是否为质数

题目描述

输入一个正整数 n,如果它是质数输出 Yes,否则输出 No。

输入格式

输入一行,一个正整数 n。

输出格式

输出 Yes 或 No。

1
No

数据范围与约定

1≤n≤106^6