static void Main(string[] args)
    {
        Solve  trainers = new Solve();
        string input    = Console.ReadLine();

        while (input != "Tournament")
        {
            string[]       tokens = input.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
            List <Pokemon> temp   = new List <Pokemon>();
            temp.Add(new Pokemon(tokens[1], tokens[2], int.Parse(tokens[3])));
            trainers.AddMember(new Trainer(tokens[0], 0, temp));
            input = Console.ReadLine();
        }
        input = Console.ReadLine();
        while (input != "End")
        {
            trainers.Play(input);
            input = Console.ReadLine();
        }
        trainers.PrintResults();
    }
    static void Main(string[] args)
    {
        Solve rectangles = new Solve();

        string[] parameters = Console.ReadLine().Split();
        int      n          = int.Parse(parameters[0]);
        int      m          = int.Parse(parameters[1]);

        for (int i = 0; i < n; i++)
        {
            string[] tokens = Console.ReadLine().Split();
            rectangles.AddMember(new Rectangle(tokens[0], double.Parse(tokens[1]), double.Parse(tokens[2]), double.Parse(tokens[3]), double.Parse(tokens[4])));
        }
        for (int i = 0; i < m; i++)
        {
            string[] tokens = Console.ReadLine().Split();


            rectangles.Intersect(tokens[0], tokens[1]);
        }
    }