using System;
namespace _024_字符读取和编程题
{
class Program
{
static void Main(string[] args)
{
//char c;// '0' -- 55 '9' --
//int sum = 0;
//do
//{
// c = (char)Console.Read();
// if (c >= '0' && c <= '9')
// {
// int number = c - '0';
// sum += number;
// }
// else if (c == '*')
// {
// sum += 500;
// }
//} while (c != '#');
//Console.WriteLine(sum);
//31dj*31#
//508
//int n = Convert.ToInt32(Console.ReadLine());
//int count = 0;
//string str = "";
//for (int i = 1; i <= n; i++)
//{
// if (n % i == 0)
// {
// count++;
// str += i + " ";
// }
//}
//Console.WriteLine(count);
//Console.WriteLine(str);
//9
//1 3 9
int n = Convert.ToInt32(Console.ReadLine());
int count = 0;
for (int i = 1; i <= n; i++)
{
if (n % i == 0)
{
count++;
}
}
if (count == 2)
{
Console.WriteLine("yes");
}
else
{
Console.WriteLine("no");
}
}
}
}