#include
using namespace std;
int main(){
int p;
cin >> p;
switch(p){
case 60 ... 69:
cout << 2;<br> break;
case 70 ... 79:
cout << 3;<br> break;
case 80 ... 89:
cout << 4;<br> break;
case 90 ... 100:
cout << 5;<br> break;
default:
cout << "Fail";<br> break;
}
cout << endl;<br> return 0;
}