static Boolean Avval(int num)
{
if (num == 1) return false;
for (int i = 2; i < num; i++)
{
if (num % i == 0)
return false;
}
return true;
}
static void Main(string[] args)
{
int count = 0;
int[] numbers = { 3, 10, 7, 9, 19, 25, 11, 37, 40};
for (int i = 0; i < numbers.Length; i++)
{
if (Avval(numbers[i]))
count += 1;
}
Console.WriteLine(count);
}