#include<bits/stdc++.h>
using namespace std;
int main () {
  int N;
  cin >> N;
  bool kisu = false;
  for (int i = 0; i < N; i ++) {
    int a;
    cin >> a;
    if (a % 2) kisu = true;
  }
  cout << (kisu ? "first" : "second") << endl;
}