
# 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 = input().split()

s = set(s)

print(('Four' if len(s) == 4 else 'Three'))

# optimized version of the same code:

n = int(eval(input()))

s = input().split()

print(('Four' if len(set(s)) == 4 else 'Three'))
n = int(eval(input()))
s = input().split()
s = set(s)
print(("Four" if len(s) == 4 else "Three"))

n = int(eval(input()))
s = input().split()
print(("Four" if len(set(s)) == 4 else "Three"))

-s = set(s) -print(("Four" if len(s) == 4 else "Three")) +print(("Four" if len(set(s)) == 4 else "Three"))