Go: package main

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

var sc = bufio.NewScanner(os.Stdin)

func read() string {
	sc.Scan()
	return sc.Text()
}

func main() {
	sc.Split(bufio.ScanLines)
	s := read()
	rv := ""
	cols := strings.Split(s, "")
	for i := 0; i < len(cols); i++ {
		rv += cols[len(cols)-1-i]
	}
	fmt.Println(rv)
}

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

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

Python: str = input()

print(''.join(list(reversed(str))))

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

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

Python: import re
a=input()
n=len(a)
s=0
for i in range(n):
    print(a[n-1-i],end='')
print("")

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

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

Python: date=str(input()).reverse()
print(date)

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

Python: s = input()

print(s[::-1])

Python: chars = list(input())
outLen = ""
for i in range(1, len(chars) + 1):
    outLen = outLen + chars[i * -1]
print(outLen)

Python: import re
a=input()
n=len(a)
s=0
for i in range(n):
    print(a[n-1-i],end='')
print("")

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

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

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

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

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

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

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

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

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

Python: # coding: utf-8

line = input()
for k in range(0, len(line)):
    print(line[len(line) - k - 1], end="")

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

Python: a=[ i for i in input()]
for i in reversed(range(len(a))):
    print(a[i],end="")

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

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

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

Python: # AOJ 0006 Reverse Sequence
# Python3 2018.6.7 bal4u

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

Python: # coding: utf-8
# Your code here!
n=str(input())
print(n[::-1])

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

Python: import sys
import fractions

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

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

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

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

Python: S=""
for i in input():
    S=i+S
print(S)

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

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

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

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

Python: line = input()

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

print(ret)

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

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

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

Python: st=list(input())
print("".join(reversed(st)))

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

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

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

Python: import sys
#from me.io import dup_file_stdin

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

Python: 
v = input()

print(v[::-1])

Python: #!/usr/bin/env python3
# -*- coding: utf-8 -*-
if __name__ == '__main__':
  print(input()[::-1])

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

Python: import sys
#from me.io import dup_file_stdin

#@dup_file_stdin
def solve():
    print(input()[::-1])
 
solve()

Python: lstr = input()
str = [a for a in lstr]
str.reverse()
for num in range(0,len(str)):
    print(str[num],end="")
print()

Python: s = input()

print(s[::-1])

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

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

Python: # coding: utf-8
# Your code here!

s = list(input())
s.reverse()
for i in range(len(s)):
   print(s[i], end = "")
print("")

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

Python: n=str(input())
A=len(n)
N=list(n)
B=A//2
for i in range(B):
    N[i],N[A-1-i]=N[A-1-i],N[i]
C=''.join(N)
print(C)

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

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

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

Python: print(''.join(reversed(input())))#????????????????

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

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

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

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

Python: def rev_str(ls):
    rev = []
    rev += ls[::-1]
    return rev

if __name__ == '__main__':
    inp = input()
    inpls = list(inp)
    oupls = rev_str(inpls)
    oup = ''.join(oupls)
    print(oup)

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

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

Python: import sys
#from me.io import dup_file_stdin

#@dup_file_stdin
def solve():
    l=list(sys.stdin.readline())
    l.reverse()
    print("".join(l))
 
solve()

Python: if __name__ == "__main__":
    a = input().strip().split()[0]
    print(a[::-1])

Python: import math
import sys

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

Python: import sys

def gcd(a,b):
	a,b=max(a,b),min(a,b)
	while a%b:
		a,b=b,a%b
	return b
	
def lcm(a,b):
	return a//gcd(a,b)*b

s=input()
print(s[::-1])
#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))

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

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

if __name__ == '__main__':
    main()

Python: import sys
str = sys.stdin.readline()
print(str[::-1])

Python: def main():
    l = []

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

    print(str)

if __name__ == "__main__":
    main()

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

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

Python: m = str(input());

o = ''.join(list(reversed(m)));
print(o);

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

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

Python: # coding: utf-8
# 87

s = input()

S=s[::-1]

print(S)

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

Python: print(str(reversed(input())))

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

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

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

import sys

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

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

Python: def main():
    while True:
        try:
            IN=input()
            if IN=='':
                break
            print(IN[::-1])

        except:
            break

Python: L=str(input())
L= ''.join(list(reversed(L)))

print(L)

Python: print(*reversed(input()), sep='')

Python: import sys

rawinput = raw_input();

strlist = []

for temp in rawinput:
    strlist.append(temp)

strlist.reverse()

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

Python: import sys

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

if __name__ == '__main__':
    main()

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

import sys

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

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

Python: s = raw_input()

s = s[::-1]

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

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

Python: #87　文字列反転

a = str(input())

rev_a = a[::-1]

print(rev_a)

Python: from functools import reduce
from operator import add
print(reduce(add, reversed(input())))

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

Python: st = input()
ans = ""
for i in range(len(st)):
    ans += st[len(st)-i-1]
print(ans)

Python: str = input()

r = str[::-1]
print(r)

Python: import math
import sys

lines = input()
print(lines.reverse())

Python: #!/usr/bin/env python3
print(''.join(list(reversed(input()))))

Python: # -*- coding: utf-8 -*-
print(str(raw_input())[::-1])

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

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

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

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

print(''.join(st))

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

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


if __name__ == '__main__':
    run()

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

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

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