
# 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 numpy as np

import sys



buf = sys.stdin.buffer

H,W = list(map(int,buf.readline().split()))



grid = np.frombuffer(buf.read(H*(W+1)), dtype='S1').reshape((H,W+1))

grid = grid[:,:-1]



select_col = (grid == b'#').any(axis = 0)

select_row = (grid == b'#').any(axis = 1)



grid = grid[select_row, :]

grid = grid[:, select_col]

grid = grid.astype(str)



print(('\n'.join(''.join(row) for row in grid)))


# optimized version of the same code:

H,W = list(map(int,input().split()))

A = [eval(input()) for _ in range(H)]

A = list([a for a in A if any(x=='#' for x in a)]) 

A = list([a for a in zip(*A) if any(x=='#' for x in a)])



for a in zip(*A):

  print((''.join(a)))
import numpy as np
import sys

buf = sys.stdin.buffer
H, W = list(map(int, buf.readline().split()))
grid = np.frombuffer(buf.read(H * (W + 1)), dtype="S1").reshape((H, W + 1))
grid = grid[:, :-1]
select_col = (grid == b"#").any(axis=0)
select_row = (grid == b"#").any(axis=1)
grid = grid[select_row, :]
grid = grid[:, select_col]
grid = grid.astype(str)
print(("\n".join("".join(row) for row in grid)))

H, W = list(map(int, input().split()))
A = [eval(input()) for _ in range(H)]
A = list([a for a in A if any(x == "#" for x in a)])
A = list([a for a in zip(*A) if any(x == "#" for x in a)])
for a in zip(*A):
    print(("".join(a)))

-import numpy as np -import sys - -buf = sys.stdin.buffer -H, W = list(map(int, buf.readline().split())) -grid = np.frombuffer(buf.read(H * (W + 1)), dtype="S1").reshape((H, W + 1)) -grid = grid[:, :-1] -select_col = (grid == b"#").any(axis=0) -select_row = (grid == b"#").any(axis=1) -grid = grid[select_row, :] -grid = grid[:, select_col] -grid = grid.astype(str) -print(("\n".join("".join(row) for row in grid))) +H, W = list(map(int, input().split())) +A = [eval(input()) for _ in range(H)] +A = list([a for a in A if any(x == "#" for x in a)]) +A = list([a for a in zip(*A) if any(x == "#" for x in a)]) +for a in zip(*A): +    print(("".join(a)))