public static void Main()
Console.WriteLine("Nhập họ tên và ngày tháng năm sinh: ");
string DL = Console.ReadLine();
string[] Parts = DL.Split(" - ");
string[] HoTen = Parts[0].Split(' ');
string Ten = HoTen[HoTen.Length - 1];
string[] NS = Parts[1].Split('/');
int ngay = int.Parse(NS[0]);
int thang = int.Parse(NS[1]);
int nam = int.Parse(NS[2]);
Console.WriteLine($"Họ: {Ho}, Tên: {Ten}");
int tuoi = namnay - nam-1;
else if (thangnay == thang)