using System.Collections;
using System.Collections.Generic;
public static void Main()
int n=Convert.ToInt32(Console.ReadLine());
int id=Convert.ToInt32(Console.ReadLine());
string name=Console.ReadLine();
int age=Convert.ToInt32(Console.ReadLine());
int runs=Convert.ToInt32(Console.ReadLine());
int wickets=Convert.ToInt32(Console.ReadLine());
var vehi=new Player(id,name,age,runs,wickets);
int ch=Convert.ToInt32(Console.ReadLine());
int d1=Convert.ToInt32(Console.ReadLine());
int temp=Team.CountAge(d1);
Console.WriteLine("No player with given age found");
public string name{get;set;}
public int runs{get;set;}
public int wickets{get;set;}
public Player(int id,string name,int age,int runs,int wickets)
public static List<Player> nl2=new List<Player>();
public static void Add(Player p)
public static int CountAge(int a)
public static double Avg()
foreach (Player p in nl2)