
# slower version:

s = input()
for i in range(len(s)):
  if i%2 == 0:
    print(s[i], end = '')


# optimized version of the same code:

s = input()
ans = ''
for i in range(len(s)):
  if i % 2 == 0:
    ans += s[i]
print(ans)



# slower version:

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()


# optimized version of the same code:

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")