
# 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:

n=int(eval(input()))

s=list(map(str,input().split()))

total=[]

for i in range(n):

    if s[i] not in total:

        total.append(s[i])

print(('Three' if len(total)==3 else 'Four'))

# optimized version of the same code:

eval(input())

l=list(map(str,input().split()))

print(('Three' if len(set(l))==3 else 'Four'))
n = int(eval(input()))
s = list(map(str, input().split()))
total = []
for i in range(n):
    if s[i] not in total:
        total.append(s[i])
print(("Three" if len(total) == 3 else "Four"))

eval(input())
l = list(map(str, input().split()))
print(("Three" if len(set(l)) == 3 else "Four"))

-n = int(eval(input())) -s = list(map(str, input().split())) -total = [] -for i in range(n): -    if s[i] not in total: -        total.append(s[i]) -print(("Three" if len(total) == 3 else "Four")) +eval(input()) +l = list(map(str, input().split())) +print(("Three" if len(set(l)) == 3 else "Four"))