#backward writer
#input msg
#get begn end coords
#change positions of each letter with loop and creating str
word = raw_input('Enter your word\n')
position = len(word) - 1
wordnew = ''
while True:
if word != '':
wordnew += word[position]
position -= 1
if len(wordnew) == len(word):
print wordnew
break
I2JhY2t3YXJkIHdyaXRlcgojaW5wdXQgbXNnCiNnZXQgYmVnbiBlbmQgY29vcmRzCiNjaGFuZ2UgcG9zaXRpb25zIG9mIGVhY2ggbGV0dGVyIHdpdGggbG9vcCBhbmQgY3JlYXRpbmcgc3RyCndvcmQgPSByYXdfaW5wdXQoJ0VudGVyIHlvdXIgd29yZFxuJykKcG9zaXRpb24gPSBsZW4od29yZCkgLSAxCndvcmRuZXcgPSAnJwp3aGlsZSBUcnVlOgoJaWYgd29yZCAhPSAnJzoKCQl3b3JkbmV3ICs9IHdvcmRbcG9zaXRpb25dCgkJcG9zaXRpb24gLT0gMQoJCQoJaWYgbGVuKHdvcmRuZXcpID09IGxlbih3b3JkKToKCQlwcmludCB3b3JkbmV3CgkJYnJlYWsKCQ==