using System.Collections.Generic;
Console.WriteLine("{0} {1}",name,age);
public static void Main()
List<person> fam = new List<person>();
int n = int.Parse(Console.ReadLine());
person per = new person();
per.name = Console.ReadLine();
per.age = int.Parse(Console.ReadLine());
var sortfam = fam.OrderBy(x => x.name);
foreach (person A in sortfam) A.print();