// editor4
import java.util.Scanner;
abstract class Bird {
    abstract void fly();
    abstract void sound();
}
class Eagle extends Bird {
    void fly() {
        System.out.println("The eagle soars high in the sky");
    }

    void sound() {
        System.out.println("The eagle screeches");
    }
}
class Hawk extends Bird {
    void fly() {
        System.out.println("The hawk glides smoothly through the air");
    }

    void sound() {
        System.out.println("The hawk shrieks");
    }
}
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String birdType = sc.nextLine();
        s=s.substring(0, 1).toUpperCase() + s.subtring(1).toLowerCase();
        Bird bird;
        if (birdType.equals("Eagle")) {
            bird = new Eagle();
        } else if (birdType.equals("Hawk")) {
            bird = new Hawk();
        } else {
            System.out.println("Invalid input");
            return;
        }
        bird.fly();
        bird.sound();
    }
}
