s = eval(input())

print((s[0::2]))
def main():

    S = eval(input())

    print((S[0::2]))





if __name__ == '__main__':

    main()

s = eval(input())
print((s[0::2]))

def main():
    S = eval(input())
    print((S[0::2]))


if __name__ == "__main__":
    main()

-s = eval(input()) -print((s[0::2])) +def main(): +    S = eval(input()) +    print((S[0::2])) + + +if __name__ == "__main__": +    main()