import java.util.Scanner;

abstract class Bird {
    abstract String fly();
    abstract String sound();
}

class Eagle extends Bird {
    @Override
    String fly() {
        return "The eagle soars high in the sky";
    }
    @Override
    String sound() {
        return "The eagle screeches";
    }
}

class Hawk extends Bird {
    @Override
    String fly() {
        return "The hawk glides smoothly through the air";
    }
    @Override
    String sound() {
        return "The hawk shrieks";
    }
}

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String type = sc.nextLine().trim();   // ✅ single line input

        if (type.equals("Eagle")) {
            Bird b = new Eagle();
            System.out.println(b.fly());
            System.out.println(b.sound());
        } else if (type.equals("Hawk")) {
            Bird b = new Hawk();
            System.out.println(b.fly());
            System.out.println(b.sound());
        } else {
            System.out.println("Invalid input");
        }
    }
}
