#include<bits/stdc++.h>
#define fi first
#define se second
#define ll long long
#define pii pair<int, int>
#define pb push_back
#define pll pair<ll, ll>
#define ppii pair<pii, pii>
#define pli pair<ll, int>
using namespace std;
inline int ReadInt()
{
    char c;
    while (c = getchar(), c < '0' || c > '9');
    int x = c - '0';
    while (c = getchar(), c >= '0' && c <= '9')
        x = x * 10 + c - '0';
    return x;
}
const int N=1e5+1;
int n, a[N];
main()
{
    ios_base::sync_with_stdio(false); cin.tie(0);
    //freopen("E.inp", "r", stdin);
    //freopen("sol.out", "w", stdout);
    cin>>n;
    bool ok=0;
    for(int i=1; i<=n; i++){
        cin>>a[i];
        if(a[i]%2) ok=1;
    }
    if(!ok) cout<<"second"<<'\n';
    else cout<<"first"<<'\n';
}
