Problem:


Reverse Sequence

Write a program which reverses a given string str.

Input

str (the size of str ≤ 20) is given in a line.

Output

Print the reversed str in a line.

Sample Input

w32nimda

Output for the Sample Input

admin23w



Sample input:
w32nimda


Sample output:
admin23w

Submission status: Accepted

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

Submission status: Accepted

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

print()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a=input()
b=""

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

print(b)

Submission status: Accepted

Solution code:
a=input()
print(a[::-1])

Submission status: Accepted

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

print(L)

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str=input()
ans=reversed(list(str))
print(''.join(ans))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
n = len(s)
for i in range(n):
    print(s[n-i-1], end="")
print("")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
for ch in a[::-1]:
    print(ch,end='')
print()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str=list(input())
rstr=str[::-1]
print(*rstr,sep='')

Submission status: Accepted

Solution code:
st = input()
print(st[::-1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = str(input())

ans = a[::-1]

print(ans)

Submission status: Accepted

Solution code:
print(''.join(list(reversed(input()))))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Str = input()
Str = list(Str)
STR = []
for i in range(len(Str)-1,-1,-1):
    STR.append(Str[i])
print(''.join(STR))

Submission status: Accepted

Solution code:
S = input()

cnt = -1

for i in range(len(S)) :
    if i == len(S) - 1 :
        print(S[0])
    else :
        print(S[cnt], sep = "", end = "")
        cnt -= 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(*reversed(input()), sep='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
a = a[::-1]
print(a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

Solution code:
print(''.join(reversed(input())))#????????????????

Submission status: Accepted

Solution code:
while 1:
    try:
        str = input()
    except:break
    print(str[::-1])

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(input())

a.reverse()

print(''.join(a))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
print(a[::-1])

Submission status: Accepted

Solution code:
str = input()
print(str[::-1])

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n =input()
print(n[::-1])

Submission status: Accepted

Solution code:
a=input()
a=a[::-1]
print(a)

Submission status: Accepted

Solution code:
print(''.join(list(reversed(input()))))

Submission status: Accepted

Solution code:
if __name__ == '__main__':

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

Submission status: Accepted

Solution code:

str = input()

str_reverse = str[::-1]

print(str_reverse)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = raw_input()
ans = ''
for i in range(0, len(s)):
	ans = ans + s[-1-i]
print ans

Submission status: Accepted

Solution code:
S=input()

S=S[::-1]

print(S)

Submission status: Accepted

Solution code:
strings = input()
print(strings[::-1])

Submission status: Accepted

Solution code:
string = input()
print(string[::-1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("".join(list(reversed(input()))))

Submission status: Accepted

Solution code:
s=input()
new_str = s[::-1]
print(new_str)

Submission status: Accepted

Solution code:
a= input()
print(a[::-1])

Submission status: Accepted

Solution code:
moji=str(input())

mojiretu=[]

for i in moji:
    mojiretu.append(i)

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

Submission status: Accepted

Solution code:
S = str(input())
print(S[::-1])

Submission status: Accepted

Solution code:
n = input()
print(n[::-1])

Submission status: Accepted

Solution code:
S = input()
s_len = len(S)

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

Submission status: Accepted

Solution code:
def run():
    print(input()[::-1])


if __name__ == '__main__':
    run()

Submission status: Accepted

Solution code:
print(''.join(reversed(input())))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
data = []
data = input()
print(data[-1:-1-len(data):-1])

Submission status: Accepted

Solution code:
old = raw_input()
list = list(old)
list.reverse()
new = ''
for i in range(len(list)):
	new += list[i]
print new

Submission status: Runtime Error

Solution code:
print(imput()[::-1])

Submission status: Runtime Error

Solution code:
line = raw_input()
print ''.join(reversed(list(raw_input())))

Submission status: Runtime Error

Solution code:
import sys

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

Submission status: Runtime Error

Solution code:

line = raw_input()

print line.reverse()

Submission status: Runtime Error

Solution code:
date=str(input()).reverse()
print(date)

Submission status: Runtime Error

Solution code:
def main():
    IN=input()
    if IN=='':
        break
    print(IN[::-1])

Submission status: Runtime Error

Solution code:
print(str[::-1])

Submission status: Runtime Error

Solution code:
print(str(input())[::-1])

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
???return input()[::-1]
if __name__ == '__main__':
  main()

Submission status: Runtime Error

Solution code:
print(input().reverse())

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(input()[::-3]))

Submission status: Runtime Error

Solution code:
import sys


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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
 for i in range(1):
   print(input()[::-1])

Submission status: Runtime Error

Solution code:
 for i in range(1):
        print(input()[::-1])

Submission status: Runtime Error

Solution code:
 for i in range(1):
print(input()[::-1])

Submission status: Runtime Error

Solution code:
 for i in range(1):
    print(input()[::-1])

Submission status: Runtime Error

Solution code:
<?php



fscanf(STDIN, "%s", $data);


for($i = strlen($data); 0 <= $i; $i--){
$data2 .= $data[$i];
}

echo $data2."\n";

Submission status: Runtime Error

Solution code:
line = input()
print(line[len(line),0,-1])

Submission status: Runtime Error

Solution code:
import math
import itertools
x = 100
for _ in itertools.repeat(None,int(input())):
    x = math.ceil(x*1.05)
print(x*1000)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
import sys

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

Submission status: Runtime Error

Solution code:
# coding=utf-8

sentence = input()
sentence.__reversed__()
print(sentence)

Submission status: Runtime Error

Solution code:
print(input().reversed)

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
string = input()
size = len(string)
st = []
for i in range(size):
    st.append(string(size-i))
print(st)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
str1 = raw_input() print "".join(reversed(str1))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
text = raw_input("半角英数20文字まで入力: ")
n = len(text)
rev = []
for i in range(n):
    rev.append(text[(n-1)-i])
ans = ''.join(rev)
print ans

Submission status: Runtime Error

Solution code:
a = raw_input()
[::-1]
print a

Submission status: Runtime Error

Solution code:
line = input()
reversed(line)
print line

Submission status: Runtime Error

Solution code:
import sys

for line in sys.stdin:
    print sorted(line, reversed=True)

Submission status: Runtime Error

Solution code:
import sys

for line in sys.stdin:
    l = line.rstrip('\n').split('')
    l.reverse()
    print ''.join(l)

Submission status: Runtime Error

Solution code:
print raw input()[::-1]

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

import sys

for line in sys.stdin.readlines():
    #List = map(int, line.strip().split())
    
    seq = raw_input().strip()
    print seq[::-1]

Submission status: Runtime Error

Solution code:
s = raw_input()
s.reverse()
print s

Submission status: Runtime Error

Solution code:
s = raw_input()
s.reverse()
print s[::-1]

Submission status: WA: Presentation Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

for s in sys.stdin:
  print s[::-1]

Submission status: WA: Presentation Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

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

Submission status: WA: Presentation Error

Solution code:
# -*- coding: utf-8 -*-
import sys

for s in sys.stdin:
    res = ""
    for i in range(len(s)):
        res += s[len(s)-i-1]
    print res

Submission status: WA: Presentation Error

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

Submission status: WA: Presentation Error

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

Submission status: WA: Presentation Error

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

Submission status: WA: Presentation Error

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

import sys

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

Submission status: WA: Presentation Error

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

import sys

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

Submission status: WA: Presentation Error

Solution code:
import sys

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

Submission status: WA: Presentation Error

Solution code:
import sys

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

Submission status: WA: Presentation Error

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

Submission status: WA: Presentation Error

Solution code:
import sys

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

Submission status: WA: Presentation Error

Solution code:
import sys

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

Submission status: WA: Presentation Error

Solution code:
# coding: utf-8

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

Submission status: WA: Presentation Error

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

Submission status: WA: Presentation Error

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

Submission status: WA: Presentation Error

Solution code:
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()

Submission status: WA: Presentation Error

Solution code:
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()

Submission status: WA: Presentation Error

Solution code:
import sys
#from me.io import dup_file_stdin

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

Submission status: WA: Presentation Error

Solution code:
import sys
#from me.io import dup_file_stdin

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

Submission status: WA: Presentation Error

Solution code:
import sys
#from me.io import dup_file_stdin

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

Submission status: WA: Presentation Error

Solution code:
import sys
s=sys.stdin.readline()
print s[::-1]

Submission status: WA: Presentation Error

Solution code:


import sys


def str_reverse(str):
    r = []
    for c in str:
        r.insert(0, c)
    return "".join(r)


str = sys.stdin.readline()

print str_reverse(str)

Submission status: WA: Presentation Error

Solution code:
import sys

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

Submission status: WA: Presentation Error

Solution code:
import sys

rawinput = raw_input();

strlist = []

for temp in rawinput:
    strlist.append(temp)

strlist.reverse()

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

Submission status: WA: Presentation Error

Solution code:
# Reverse Sequence

import sys

string = ""

for line in sys.stdin:
	string = line

print string[::-1]

Submission status: WA: Presentation Error

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