import re while~0:print re.sub('(?!^)(.)(.)(?!$)',r'\2\1',raw_input())