def solve():

    for _ in range(int(eval(input()))):

        if int(eval(input())) & 1:

            return "first"

    return "second "

print((solve()))
import sys

readline = sys.stdin.readline

from itertools import product

def solve():

    for _ in range(int(eval(input()))):

        if int(readline()) & 1:

            return "first"

    return "second "

print((solve()))

def solve():
    for _ in range(int(eval(input()))):
        if int(eval(input())) & 1:
            return "first"
    return "second "


print((solve()))

import sys

readline = sys.stdin.readline
from itertools import product


def solve():
    for _ in range(int(eval(input()))):
        if int(readline()) & 1:
            return "first"
    return "second "


print((solve()))

+import sys + +readline = sys.stdin.readline +from itertools import product + + -        if int(eval(input())) & 1: +        if int(readline()) & 1: