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

def resolve():

    '''

    code here

    '''

    import collections

    import itertools

    import numpy as np

    N = int(eval(input()))

    Ss = [input()[0] for _ in range(N)]



    march_letter = [item for item in Ss if item in ['M', 'A', 'R', 'C', 'H']]

    march_cnt = collections.Counter(march_letter)



    if len(march_cnt) < 3:

        res = 0

    else:

        res_list = itertools.combinations(list(march_cnt.values()),3)



        res = 0

        for element in res_list:

            res += np.prod(np.array(element))

    print(res)



if __name__ == "__main__":

    resolve()


# optimized version of the same code:

def resolve():

    '''

    code here

    '''

    import collections

    import itertools

    N = int(eval(input()))

    Ss = [input()[0] for _ in range(N)]



    march_letter = [item for item in Ss if item in ['M', 'A', 'R', 'C', 'H']]

    march_cnt = collections.Counter(march_letter)



    if len(march_cnt) < 3:

        res = 0

    else:

        res_list = itertools.combinations(list(march_cnt.values()),3)



        res = 0

        for element in res_list:

            res += element[0]*element[1]*element[2]

    print(res)



if __name__ == "__main__":

    resolve()

def resolve():
    """
    code here
    """
    import collections
    import itertools
    import numpy as np

    N = int(eval(input()))
    Ss = [input()[0] for _ in range(N)]
    march_letter = [item for item in Ss if item in ["M", "A", "R", "C", "H"]]
    march_cnt = collections.Counter(march_letter)
    if len(march_cnt) < 3:
        res = 0
    else:
        res_list = itertools.combinations(list(march_cnt.values()), 3)
        res = 0
        for element in res_list:
            res += np.prod(np.array(element))
    print(res)


if __name__ == "__main__":
    resolve()

def resolve():
    """
    code here
    """
    import collections
    import itertools

    N = int(eval(input()))
    Ss = [input()[0] for _ in range(N)]
    march_letter = [item for item in Ss if item in ["M", "A", "R", "C", "H"]]
    march_cnt = collections.Counter(march_letter)
    if len(march_cnt) < 3:
        res = 0
    else:
        res_list = itertools.combinations(list(march_cnt.values()), 3)
        res = 0
        for element in res_list:
            res += element[0] * element[1] * element[2]
    print(res)


if __name__ == "__main__":
    resolve()

-    import numpy as np -            res += np.prod(np.array(element)) +            res += element[0] * element[1] * element[2]