#include<iostream>
using namespace std;
int n;
int a;
int gg;
int main(){
	cin>>n;
	for (int i=0;i<n;i++){
		cin>>a;
		if(a%2!=0) gg++;
	} 
	if(gg!=0){
		cout<<"first"<<endl;
	}
	else{
		cout<<"second"<<endl;
	}
	return 0;
}