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

int main(){
   ll N; cin >> N;
   string res = "second";
   for (ll i = 0; i < N; i++)
   {
       ll r; cin >> r;
       if (r % 2 == 1) {
           res = "first"; break;}
   }
   cout << res << endl;
}