using System;
public class Program
{
public static void Main()
int[] arr = { 1, 5, 2, 7, 3 };
int count = 0;
for (int i = 0; i < arr.Length; i++)
if (arr[i] % 2 ==0)
count++;
}
Console.WriteLine("Кількість парних елементів: " + count);