import java.util.*;
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 input = sc.nextLine();
        Bird bird = new Bird();
        if(input.equalsIgnoreCase("Eagle")){
           bird = new Eagle();
        }
        else if(input.equalsIgnoreCase("Hawk")){
            bird = new Hawk();
        }
        else{
            System.out.println("Invalid input");
            System.exit(0);
        }
        bird.fly();
        bird.Sound();
    }
}