class Student implements Comparator<Student>
{
public string name;
public int age;
public int score;
Student(string name,int age,int score)
{
this.name=name;
this.age=age;
this.score=score;
}
public int Compare(Student s1)
{
if(this.score()>s1.score())
{
return 1;
if(s1.score()<this.score())
return -1;
return 0;
}
}