import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { static class Person implements Comparable { int index; int age; String name; public Person(int index, int age, String name){ this.index=index; this.age=age; this.name=name; } public int compareTo(Person p){ if(this.age>p.age) return 1; else if(this.age==..