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

def input(): return sys.stdin.readline().rstrip()

def main():

    x=int(eval(input()))

    for i in range(-300,300):

        for j in range(-300,300):

            if i**5-j**5==x:

                print((i,j))

                sys.exit()



if __name__=='__main__':

    main()

# optimized version of the same code:

import sys

def input(): return sys.stdin.readline().rstrip()

def main():

    x=int(eval(input()))

    for a in range(-118,120):

        for diff in range(238):

            if a**5-(a-diff)**5>10**9:

                break

            if a**5-(a-diff)**5==x:

                print((a,a-diff))

                sys.exit()



if __name__=='__main__':

    main()
import sys


def input():
    return sys.stdin.readline().rstrip()


def main():
    x = int(eval(input()))
    for i in range(-300, 300):
        for j in range(-300, 300):
            if i**5 - j**5 == x:
                print((i, j))
                sys.exit()


if __name__ == "__main__":
    main()

import sys


def input():
    return sys.stdin.readline().rstrip()


def main():
    x = int(eval(input()))
    for a in range(-118, 120):
        for diff in range(238):
            if a**5 - (a - diff) ** 5 > 10**9:
                break
            if a**5 - (a - diff) ** 5 == x:
                print((a, a - diff))
                sys.exit()


if __name__ == "__main__":
    main()

-    for i in range(-300, 300): -        for j in range(-300, 300): -            if i**5 - j**5 == x: -                print((i, j)) +    for a in range(-118, 120): +        for diff in range(238): +            if a**5 - (a - diff) ** 5 > 10**9: +                break +            if a**5 - (a - diff) ** 5 == x: +                print((a, a - diff))