#include<bits/stdc++.h>
using namespace std;
int main(){
int score;
cin>>score;
if(score>=90){
cout<<"Excellent";
}
if(score>=80){
cout<<"Good";
}
if(score>=60){
cout<<"Pass";
}
if(score<60){
cout<<"Fail";
}
}
/**************************************************************
Problem: 1959
User: tonghuawei
Language: C++
Result: Wrong Answer
****************************************************************/