# reverse_string.py


word = "kingdom"


# slicing, start, stop, step

reversedWord = word[::-1]


print(reversedWord)


input('')


##


'''

modgnik

'''


# Dedicated to God the Father

# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024

# https://github.com/ChristopherTopalian

# https://sites.google.com/view/CollegeOfScripting