message = '.daed era meht fo owt fi ,terces a peek nac eerhT' #here we assign the var message with a string
translated = ''

i = len(message) -1
while i >=0:
    translated = translated + message[i]
    i=i-1

print(translated)