#include <iostream>
using namespace std;
int main(void){
    long long n;
    cin>>n;
    bool point=true;
    for(long long i=0; i<n; i++){
        long long p; cin>>p;
        if(p%2==1) point=false;
    }
    
    if(point) cout<<"second"<<endl;
    else cout<<"first"<<endl;
}