#Given a string S, print the 1st and 3rd character of the string (chracter index starts from 1).
string=input()
res=string[0:4:2]
print(res,end='')

#Given a string S, print the 1st and 3rd character of the string (chracter index starts from 1).
#Input Size : 1 <= N <= 100000
#Sample Testcase :
#INPUT
#codekata
#OUTPUT
#cd
