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

alph = eval(input())

if alph.isupper():

    print("A")

else:

    print("a")


# optimized version of the same code:

a = eval(input())



if a.isupper():

    print("A")

else:

    print("a")
alph = eval(input())
if alph.isupper():
    print("A")
else:
    print("a")

a = eval(input())
if a.isupper():
    print("A")
else:
    print("a")

-alph = eval(input()) -if alph.isupper(): +a = eval(input()) +if a.isupper():