#include<bits/stdc++.h>
using namespace std;
int n;
int main(){
cin >> n;
if(n >= 0 && n <= 100)
{
if(n >= 60)
cout << "pass" << endl;
else
cout << "fail" << endl;
if(n%2 == 0)
cout << "even" << endl;
else
cout << "odd" << endl;
}else
{
cout << "error" << endl;
}
return 0;
}