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

X=int(eval(input()))

a=[]

for i in range(-100,200):

  for j in range(-100,200):

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

      a.append(str(i))

      a.append(str(j))

      break

print((' '.join(a[0:2])))



    

# optimized version of the same code:

X=int(eval(input()))

a=[]

for i in range(-100,200):

  for j in range(-100,200):

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

      a.append(str(i))

      a.append(str(j))

      break

  else:

    continue

  break  

print((' '.join(a[0:2])))



    

X = int(eval(input()))
a = []
for i in range(-100, 200):
    for j in range(-100, 200):
        if i**5 - j**5 == X:
            a.append(str(i))
            a.append(str(j))
            break
print((" ".join(a[0:2])))

X = int(eval(input()))
a = []
for i in range(-100, 200):
    for j in range(-100, 200):
        if i**5 - j**5 == X:
            a.append(str(i))
            a.append(str(j))
            break
    else:
        continue
    break
print((" ".join(a[0:2])))

+    else: +        continue +    break