using System.Collections.Generic;
public static void Main(string[] args){
int no=Convert.ToInt32(Console.ReadLine());
string na=Console.ReadLine();
double battings_avg=Convert.ToDouble(Console.ReadLine());
int m=Convert.ToInt32(Console.ReadLine());
int a=Convert.ToInt32(Console.ReadLine());
Player ob=new Player(na,battings_avg,m,a);
int op=Convert.ToInt32(Console.ReadLine());
string nam=Console.ReadLine();
string res=manager.emerging(nam);
Console.WriteLine("{0}",res);
List<Player> np2=manager.top();
foreach(Player l in np2){
Console.WriteLine("{0}:{1}:{2}:{3}",l.name,l.batting_avg,l.matches,l.ages);
public string name{get;set;}
public double batting_avg{get;set;}
public int matches{get;set;}
public int ages{get;set;}
public bool IsWorldcupEligible{get;set;}
public Player(string name,double batting_avg,int matches,int ages){
this.batting_avg=batting_avg;
if(matches>50 && ages<35){
IsWorldcupEligible=false;
List<Player> pp=new List<Player>();
public void Add(Player p){
public string emerging(string n){
if(c.matches<20 && c.ages<21){
o=c.name+" is an emerging player";
o=c.name+"is not an emerging player";
public List<Player> top(){
List<Player> np=new List<Player>();
foreach(Player nc in pp){
if(nc.IsWorldcupEligible==true){
np=np.OrderByDescending(s=>s.batting_avg).ToList();