#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
	