import numpy as np

 

def main():

    stdin = np.fromstring(open(0).read(), dtype=np.int64, sep=' ')

    A = stdin[1:]

    A = np.mod(A, 2)

    print("first") if np.count_nonzero(A) else print("second")

if __name__ == "__main__":

    main()

import sys

def input(): return sys.stdin.readline().strip()

def main():

    N = int(input())

    A = (int(input()) for _ in range(N))

    print("second") if all(( a%2==0 for a in A)) else print("first")

if __name__ == "__main__":

    main()

import numpy as np


def main():
    stdin = np.fromstring(open(0).read(), dtype=np.int64, sep=" ")
    A = stdin[1:]
    A = np.mod(A, 2)
    print("first") if np.count_nonzero(A) else print("second")


if __name__ == "__main__":
    main()

import sys


def input():
    return sys.stdin.readline().strip()


def main():
    N = int(input())
    A = (int(input()) for _ in range(N))
    print("second") if all((a % 2 == 0 for a in A)) else print("first")


if __name__ == "__main__":
    main()

-import numpy as np +import sys + + +def input(): +    return sys.stdin.readline().strip() -    stdin = np.fromstring(open(0).read(), dtype=np.int64, sep=" ") -    A = stdin[1:] -    A = np.mod(A, 2) -    print("first") if np.count_nonzero(A) else print("second") +    N = int(input()) +    A = (int(input()) for _ in range(N)) +    print("second") if all((a % 2 == 0 for a in A)) else print("first")