using System;
//תרגיל 2
int Even (int[] nums){
int counter = 0;
foreach (int num in nums){
if(num % 2 == 0){
counter++;
}
return counter;