Go: package main

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

func reverse(s string) string {
	runes := []rune(s)
	for i, j := 0, len(runes)-1; i < j; i, j = i+1, j-1 {
		runes[i], runes[j] = runes[j], runes[i]
	}
	return string(runes)
}

func main() {
	scanner := bufio.NewScanner(os.Stdin)
	scanner.Scan()
	input := scanner.Text()
	fmt.Println(reverse(input))
}

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

Python: a=list(str(input()))
a.reverse()
print(*a,sep="")

Python: a=list(input())
a.reverse()
for i in a:
    print(i,end='')

Python: n=list(input())
y=n[::-1]
print(''.join(y))

Python: import sys
#from me.io import dup_file_stdin

#@dup_file_stdin
def solve():
    print(sys.stdin.readline()[::-1])
 
solve()

Python: # -*- coding: utf-8 -*-

a=input()
b=""

for i in range(len(a)):
    b+=a[len(a)-i-1]

print(b)

Python: n=str(input())

m=n[::-1]
print(m)

Python: print(*input()[::-1], sep='')

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

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

Python: # coding: utf-8

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

Python: #0006
x = str(input())
y = ''.join(list(reversed(x)))
print(y)

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

Python: print(reversed(input()))

Python: import sys
s=input()
out=''
for i  in s:
  out=i+out
print(out)

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

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

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

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

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

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

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

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

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

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

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

Python: # AOJ 0006 Reverse Sequence
# Python3 2018.6.7 bal4u
 
s = input()
print(s[::-1])

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

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

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 -*-

s = str(input())
s = list(s)
x = [0]*len(s)
for i in range(len(s)):
    x[len(s)-i-1] = s[i]
for i in range(len(x)):
    print(x[i],end='')
print('')

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

Python: # -*-coding:utf-8
#????????????????????§??¨???

def main():

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

if __name__ == '__main__':
    main()

Python: str = raw_input()
str_lis = list(str)
str_lis.reverse()
print(''.join(str_lis))

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

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

Python: # coding=utf-8

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

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

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

if __name__ == '__main__':
    main()

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

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

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

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

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

Python: import sys
#from me.io import dup_file_stdin

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

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

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

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

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

Python: str = input()
str1_list = list(reversed(str))
str1 = "".join(list(reversed(str)))
print(str1)

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

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

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

Python: a=list(list(map(str, input().split())))

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

Python: def rev(str):
    revstr=''
    for i in range(len(str)-1,-1,-1):
        revstr=revstr + str[i]
    return revstr
str=input("")
print(rev(str))

Python: s = raw_input()

s = s[::-1]

print(s)

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

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

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

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

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

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

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

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

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

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

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

Python: a = list(input())

a.reverse()

print(''.join(a))

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

Python: S = input()
a = ''
for i in range(len(S)):
  a += S[len(S)-i-1]
print(a)

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

if __name__ == '__main__':
    run()

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

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

import sys

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

Python: def reverseString(s):
        return s[::-1]
 
 
while True:
    try:
        s = str(input())
        s = reverseString(s)
        print(s)
    except:
        break

Python: str=input()
print(str[::-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: def main():
    IN=input()
    if IN=='':
        break
    print(IN[::-1])

Python: moji=str(input())

mojiretu=[]

for i in moji:
    mojiretu.append(i)

for j in reversed(range(0,len(mojiretu))):
    print(mojiretu[j],end="")
print()

Python: import sys

def main():
    for line in sys.stdin:
        print(line.rstrip()[::-1])
        
if __name__ == '__main__':
    main()

Python: s = list(input())
s.reverse()
print(*s, sep = "")

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

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

Python: r = ''
str = input()
for c in str:
    r = c + r

print(r)

Python: import sys

s = input()
for i in range(len(s)):
	sys.stdout.write(s[len(s)-i-1])
print("")

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

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

Python: # -*-coding:utf-8
#????????????????????§??¨???

def main():

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

if __name__ == '__main__':
    main()

Python: print(reversed(input()))

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

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

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

Python: line = input()
line = list(reversed(line))
print(*line, sep="")

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

Python: print(input().reversed)

Python: # -*- coding: utf-8 -*-

import sys

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

if __name__ == '__main__':
    main()

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

Python: n=list(input())

n.reverse()
print("".join(n))

Python: import sys

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

if __name__ == '__main__':
    main()

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

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

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

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

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

Python: if __name__ == '__main__':

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

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

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

Python: 
str = input()

str_reverse = str[::-1]

print(str_reverse)

Python: spam = input()
spam = [i for i in spam]
spam.reverse()
spam = ''.join(spam)
print(spam)

Python: s = input()
ls = list(reversed(s))
r = "".join(ls)
print(r)

Python: #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
print(sys.stdin.readline().strip()[::-1])

Python: import heapq
from collections import deque
from enum import Enum
import sys
import math
from _heapq import heappush, heappop
import copy

BIG_NUM = 2000000000
HUGE_NUM = 99999999999999999
MOD = 1000000007
EPS = 0.000000001
sys.setrecursionlimit(100000)


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

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

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

Python: #coding:utf-8

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