str1=input("Enter a string: ")

length=len(str1)
reversedstr=[]

while length>0:
    reversedstr += str1[length-1]
    length= int(length)-1

reversedstr = ''.join(reversedstr)
print(reversedstr)


print(str1[::-1])
ca6d11805afc721c464ad22cb143e9446f92dd06
<mask token>

<mask token>
while length > 0:
    reversedstr += str1[length - 1]
    length = int(length) - 1
<mask token>
print(reversedstr)
print(str1[::-1])

str1 = input('Enter a string: ')
length = len(str1)
reversedstr = []
while length > 0:
    reversedstr += str1[length - 1]
    length = int(length) - 1
reversedstr = ''.join(reversedstr)
print(reversedstr)
print(str1[::-1])

str1=input("Enter a string: ")

length=len(str1)
reversedstr=[]

while length>0:
    reversedstr += str1[length-1]
    length= int(length)-1

reversedstr = ''.join(reversedstr)
print(reversedstr)


print(str1[::-1])