#include <bits/stdc++.h>
using namespace std;

int main(){
  int N;
  cin>>N;
  bool frag=false;
  for(int i=0;i<N;++i){
    int64_t a;
    cin>>a;
    if(a%2!=0) frag=true;
  }
  if(frag) cout<<"first"<<endl;
  else cout<<"second"<<endl;
}