s = input('Bir yazı giriniz :') i = len(s) - 1 while i > 0: print(s[i], end='') i -= 1