Go: package main

import (
	"bufio"
	"fmt"
	"os"
)

var scanner = bufio.NewScanner(os.Stdin)

func nextString() string {
	scanner.Scan()
	return scanner.Text()
}

func main() {
	scanner.Split(bufio.ScanWords)

	str := nextString()
	for i := len(str) - 1; i >= 0; i-- {
		fmt.Print(str[i:(i + 1)])
	}
	fmt.Print("\n")
}

Python: line = input()
print(line[::-1])

Python: x=input()
X=x[::-1]
print(X)

Python: line = input()

ret = "";
for i in range(1,len(line)):
	ret += line[len(line)-1-i];

print(ret)

Python: A=[print(input()[::-1]) for i in range(1)]

Python: print(input()[::-1])

Python: a = list(input())
for i in a[::-1]:
    print(i, end="")
print()

Python: x = input()
print(x[::-1])

Python: from __future__ import absolute_import, print_function, unicode_literals

print(''.join(reversed(raw_input().strip())))

Python: # Aizu Problem 0006: Reverse Sequence
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


print(input().strip()[::-1])

Python: str = input()
kai = str[::-1]
print(kai)

Python: string = input()
print(string[::-1])

Python: string=input()

print(string[::-1])

Python: txt = input("")
for i in range(0,len(txt)):
 print(txt[(len(txt)-i-1)],end="")
print()

Python: s = input()
rs = s[::-1]
print(rs)

Python: print(''.join(reversed(list(input()))))

Python: s = input()
x = ''.join(list(reversed(s)))
print(x)

Python: import sys

def main():
    s = sys.stdin.readline().strip()
    print(s[::-1])

if __name__ == '__main__':
    main()

Python: print(input()[::-1])

Python: #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys

line = sys.stdin.readline().strip()
print(line[::-1])

Python: a=input()
print(a[::-1])

Python: l = str(input())
m= l[::-1]
print(m)

Python: print(input()[: : -1])

Python: print(input()[::-1])

Python: import sys
for a in sys.stdin.readline()[:-1]:
    print(a[::-1])

Python: str = input()
reverse_str = sorted(str, reverse=True)
print("".join(reverse_str))

Python: 	
print(input()[::-1])

Python: print(input()[::-1])

Python: # coding: utf-8
# Here your code !

import sys

for line in sys.stdin:
    print(str(line[::-1]))

Python: a=[]
str=str(input())
for i in range(len(str)):
    b=str[-(i+1)]
    a.append(b)
a=''.join(a)
print(a)

Python: print(input()[::-1])

Python: x = input()
for i in range(len(x)):
   print(x[len(x)-i-1], end='')
print()

Python: stra = input()
print(stra[::-1])

Python: import sys

s = (str)(raw_input())
a = []
for i in range(0,len(s)):
    a.append(s[i]);
a.reverse()

for i in a:
    sys.stdout.write(i)
print("")

Python: print(input()[::-1])

Python: print(input()[::-1])

Python: print(input()[::-1])

Python: s=input()
for i in range(len(s)):
    print(s[len(s)-i-1],end='')
print('\n',end='')

Python: import sys

def get_revstr(s):
    s_len = len(s)
    
    if s_len == 1:
        return s
    else:
        return s[-1] + get_revstr(s[:-1])
    
def main():
    s = sys.stdin.readline().strip()
    rev_s = get_revstr(s)
    print(rev_s)

if __name__ == '__main__':
    main()

Python: a = list(input())
for i in a[::-1]:
    print(i, end="")

Python: import argparse

def main():
    l = []

    parser = argparse.ArgumentParser()
    parser.add_argument("filename", help="The filename to be processed")
    args = parser.parse_args()

    if args.filename:
        with open(args.filename) as f:
            str = f.read()
            str = str[::-1]
            print(str)

if __name__ == "__main__":
    main()

Python: def main():
    s = list(input())
    for x in range(len(s) - 1, -1, -1):
        print(s[x], end = "")
    print()

if __name__ == "__main__":
    main()

Python: print(input()[::-1])

Python: import sys
str = ""
for l in sys.stdin:
    str = l
    print(str[-2::-1])

Python: print(''.join(list(reversed(input()))))

Python: # 87
print(input()[::-1])

Python: print(input()[::-1])

Python: n=str(input())
print(n[::-1])

Python: s=input()
print(s[::-1])

Python: print(input()[::-1])

Python: import sys
str_sequence = input()
if len(str_sequence) > 20:
    sys.exit(1)
print(str_sequence[::-1])

Python: if __name__ == "__main__":
    while True:
        try:
            #a, b = sorted(map(int, input().strip("\n").split(" ")), reverse=True)
            #str = input()
            #rts = str[::-1]
            #print(str)
            #print(rts)
            print(input()[::-1])

        except EOFError:
            break  # escape from while loop

Python: str = input()
print(str[::-1])

Python: S = input()
N = len(S)
for i in range(N):
    print(S[N-i-1], end="")
print("")

Python: s = input()
print(s[::-1])

Python: a = input()
b = a[::-1]
print(b)

Python: 

if __name__ == '__main__':
    x = input()
    print(x[::-1])

Python: n=list(input())
k=len(n)

for i in range(int(k/2)):
    n[i],n[k-i-1]=n[k-i-1],n[i]


for i in range(k):
    print(n[i], end="")
    
print("")

Python: string = input("input data")
size = len(string)
st = []
for i in range(size):
    st.append(string[size-i-1])
print(''.join(st), end='')
print('')

Python: str = list(input())
str.reverse()
print("".join(str))

Python: S = input()
s_len = len(S)

for i in range(s_len) :
    print(S[s_len - i - 1], end="")
print("")

Python: x=input()
X=x[::-1]
print(X)

Python: import sys
#from me.io import dup_file_stdin

#@dup_file_stdin
def solve():
    print(''.join(reversed(list(sys.stdin.readline()))))
 
solve()

Python: import sys

rawinput = raw_input();

strlist = []

for temp in rawinput:
    strlist.append(temp)

strlist.reverse()

for temp in strlist:
    sys.stdout.write(temp)

print

Python: string = list(input())
rev_str = [0 for i in range(len(string))]

for i in range(len(string)):
    rev_str[i] = string[len(string) - i - 1]
   
print("".join(rev_str))

Python: import math
import sys

lines = input()
print(lines[::-1])

Python: print(input()[::-1])

Python: S=input()

S=S[::-1]

print(S)

Python: print(input()[::-1])

Python: print(input()[::-1])

Python: s = input()
print(s[::-1])

Python: print(input()[::-1])

Python: sList = list(input())
sList.reverse()
print(''.join(sList))

Python: a = input()

print(a[::-1])

Python: x=input()
print(x[::-1])

Python: a=list(input())
a.reverse()
a=''.join(a)
print(a)

Python: print(input()[::-1])

Python: print(input[::-1])

Python: a = str(input())
b = ''.join(list(reversed(a)))
print(b)

Python: print(input()[::-1])

Python: print(input()[::-1])

Python: a=input()
b=[]
b=list(a)
b.reverse()
print(''.join(b))

Python: x = input()
print(x[::-1])

Python: txt = input("")
for i in range(0,len(txt)):
 print(txt[(len(txt)-i-1)],end="")
 print()

Python: s=input()
print(s[::-1])

Python: import sys

for str in sys.stdin:
    rev = ""
    for x in range(len(str),0,-1):
        rev=rev+str[x-1]

Python: n=str(input())
print(n[::-1])

Python: import sys

data = sys.stdin.readline().rstrip()
print(data[::-1])

Python: while True:
    st=list(input())
    if len(st)==0:break
    print("".join(reversed(st)))

Python: s = input()
print(s[::-1])

Python: s = input()
print(s[::-1])

Python: import sys


print(sys.stdin[::-1])

Python: s = input()
print(s[::-1])

Python: #Reverse Sequence

a = input()
print(a[::-1]) #?????¢????????????

Python: res=input()
print(res[::-1])

Python: print("".join([input()[-1::-1]]))

Python: print(raw_input()[::-1])

Python: from collections import deque
s=deque()
for i in raw_input():
    s.appendleft(i)
print(''.join(s))

Python: a=list(input())
a.reverse()
print(a)

Python: print(input()[::-1])

Python: print(str[::-1])

Python: print("".join(list(input())[::-1]))

Python: import sys

for line in sys.stdin:
    line = line.strip()
    print(line[::-1])

Python: #!/usr/bin/env python3
# -*- coding: utf-8 -*-



def main():
    print("".join(reversed(input())))

if __name__ == "__main__": main()

Python: print(input()[::-1])

Python: print(input()[::-1])

Python: s = input()
r = ''
for __ in reversed(range(len(s))):
    print(s[__], end = '')
print()