N = int(input())
a = [int(input())%2 for i in range(N)]
if 1 not in a:
    print('second')
else:
    print('first')
efc46bca1d3b303202c3370537d1b8160d103b3f
<mask token>

<mask token>
if 1 not in a:
    print('second')
else:
    print('first')

N = int(input())
a = [(int(input()) % 2) for i in range(N)]
if 1 not in a:
    print('second')
else:
    print('first')

N = int(input())
a = [int(input())%2 for i in range(N)]
if 1 not in a:
    print('second')
else:
    print('first')