print("first" if int(input()) % 2 != 0 else "second")