// editor4
import java.util.*;
abstract class Bird{
    abstract void fly();
    abstract void Sound();
}
class Eagle extends Bird{
    @Override
    void fly(){
        System.out.println("The eagle soars high in the sky");
    }
    @Override
    void Sound(){
        System.out.println("The eagle screeches");
    }
}
class Hawk extends Bird{
    @Override
    void fly(){
        System.out.println("The hawk glides smoothly through the air");
    }
    @Override
    void Sound(){
        System.out.println("The hawk shrieks");
    }
}
class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        String s=sc.nextLine();
        if(s.equals("Eagle"||"eagle")){
            Bird e=new Eagle();
            e.fly();
            e.Sound();
        }
        else if(s.equals("Hawk"||"hawk")){
            Bird h=new Hawk();
            h.fly();
            h.Sound();
        }else{
            System.out.print("Invalid input");
        }
    }
}
