using System;
public class Program
{
public static void Main()
int n;
Console.WriteLine("Nhap so nguyen duong n: ");
n = Convert.ToInt32(Console.ReadLine());
int S = 0, a;
while(n>0)
a = n % 10;
if(a%2==0)
S += a;
}
n=n / 10;
Console.WriteLine($"Tong cac chu so chan trong so nguyen duong n la {S}");