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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
line = sys.stdin.readlines();

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

print ret

Submission status: Wrong Answer

Solution code:
line = input()

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

print(ret)

Submission status: Wrong Answer

Solution code:
import sys
line = sys.stdin.readlines();

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

print ret

Submission status: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

        except:
            break

Submission status: Wrong Answer

Solution code:
a=list(input())
a.reverse()
print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
listtest = ["a","b","c"]
str1 = raw_input()
strList = list(str1)
print strList[::-1]

Submission status: Wrong Answer

Solution code:
str1 = raw_input()
strList = list(str1)
print strList[::-1]

Submission status: Wrong Answer

Solution code:
List = list(raw_input())
List.reverse()

print List

Submission status: Wrong Answer

Solution code:
List = list(raw_input())
List.reverse()

print str(List)

Submission status: Wrong Answer

Solution code:
print(str(reversed(input())))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = raw_input()

s = s[::-1]

Submission status: Wrong Answer

Solution code:
import math
import sys

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
str = []
a = raw_input()
count = len(a)
str = list(a)
for i in range(0,count):
        str[i] = str[count - i -1]

print ''.join(str)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(''.join(st))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

for i in sys.stdin.readlines():
    print reversed(i.strip())

Submission status: Wrong Answer

Solution code:
str = raw_input()
revstr = ''
for x in str:
	revstr += x
print revstr

Submission status: Wrong Answer

Solution code:
line = raw_input().strip()
reversed(line)
print line

Submission status: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    print sorted(line.rstrip('\n'), reverse=True)

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    print ''.join(sorted(line.rstrip('\n'), reverse=True))

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    print ''.join(sorted(line.rstrip('\n'), reverse=True)),

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    print reversed(line)

Submission status: Wrong Answer

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

import sys

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print raw_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:
str=input()
print(str[::-1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
while True:
    try:
        print(raw_input()[::-1])
    except EOFError: break

Submission status: Accepted

Solution code:
print raw_input().strip()[::-1]

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
string = input()

print(string[::-1])

Submission status: Accepted

Solution code:
string=input()

print(string[::-1])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
s = list(raw_input())
s.reverse()
print ''.join(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! /usr/bin/python3

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = raw_input()
#print n
x = list(n)

x.reverse()
print "".join(x)

Submission status: Accepted

Solution code:
s=raw_input()
rev = ""
for x in xrange(len(s),0,-1):
    rev=rev+s[x-1]
print rev

Submission status: Accepted

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

Submission status: Accepted

Solution code:
while True:
    try:
        print raw_input()[::-1]
    except EOFError:
        break

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
s = raw_input()
print s[::-1]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
#Problem Name: Reverse Sequence
#ID: tabris
#Mail: t123037@kaiyodai.ac.jp

print raw_input()[::-1]

Submission status: Accepted

Solution code:
line = raw_input()
lis = ['' for i in range(len(line))]
for i in range(len(line)-1, -1, -1):
    lis[len(line)-1-i] = line[i]
else:
    print ''.join(lis)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
while True:
	try:
		a = raw_input()
		print a[::-1]
	except EOFError:
		break

Submission status: Accepted

Solution code:
import sys
line = sys.stdin.readline()
inp = line[0:-1]
str_list = list(inp)
str_list.reverse()
ret = "".join(str_list)
print (ret)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = raw_input()
d = list(s)
d.reverse()
print "".join(d)

Submission status: Accepted

Solution code:
string = raw_input()

tmp = ""
for i in xrange(len(string)):
    tmp += string[len(string) - i - 1]
    
print tmp

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#Reverse Sequence

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
List = list(raw_input())
List.reverse()

print "".join(List)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = raw_input()
if len(str) <= 20: print str[::-1]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
inp = input()
print(inp[::-1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=raw_input()
a=list(s)
a.reverse()
b=""
for i in a:
  b+=i

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:
import sys

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

Submission status: Accepted

Solution code:
l=list(raw_input())
l.reverse()
print "".join(l)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import sys

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    # ???????????\???
    txt = input()

    # ?????¢??????
    txt = txt[::-1]

    # ???????????????
    print(txt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
in_str = input().rstrip()
out_str = ""

for i in range(len(in_str)):
    out_str =  in_str[i] + out_str 

print(out_str)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import sys
import os


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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
import fractions

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

Submission status: Accepted

Solution code:
s = []
for i in raw_input():
    s.insert(0,i)
print "".join(s)

Submission status: Accepted

Solution code:
import sys

if __name__ == "__main__":
    str = input()
    print (str[::-1])

Submission status: Accepted

Solution code:
import sys

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

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:
a = input()

print(a[::-1])

Submission status: Accepted

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



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

if __name__ == "__main__": main()

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

v = input()

print(v[::-1])

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = raw_input()

s = s[::-1]

print(s)

Submission status: Accepted

Solution code:
import math
import sys

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_line1 = input()

length = len(input_line1)
result = ''

for i in range(length):
    result += input_line1[(i * -1)-1]
    
print(result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:


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

Submission status: Accepted

Solution code:
# -*-coding:utf-8
#????????????????????§??¨???

def main():

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding=utf-8

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

Submission status: Accepted

Solution code:
# coding: utf-8

str = raw_input()
ans = ""
for i in range(len(str)):
	ans += str[-i-1]
print ans

Submission status: Accepted

Solution code:
str = []
a = raw_input()
count = len(a)
str = list(a)
str_reverse = []
for i in range(0,count):
        str_reverse.append(str[count - i -1])
print ''.join(str_reverse)

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def main():
    l = []

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

    print(str)

if __name__ == "__main__":
    main()

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:
a=list(str(input()))
a.reverse()
print(*a,sep="")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = list(raw_input())
l.reverse()
print ''.join(l)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

print(s[::-1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# AOJ 0006 Reverse Sequence
# Python3 2018.6.7 bal4u

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    run()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

for i in sys.stdin.readlines():
    print "".join(reversed(i.strip()))

Submission status: Accepted

Solution code:
#coding:UTF-8

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

Submission status: Accepted

Solution code:
#coding: utf-8    
while 1:
    try:
        s = raw_input()
        print s[::-1]
    except EOFError:
        break

Submission status: Accepted

Solution code:

array = map(str, raw_input())


sum = ''
for i in range(len(array)):
    sum = sum + array[-(1+i)]

print sum

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from __future__ import absolute_import, print_function, unicode_literals

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = raw_input()
strlist = []
for x in str:
	strlist.append(x)
strlist.reverse()
revstr = ''
for x in strlist:
	revstr += x
print revstr

Submission status: Accepted

Solution code:
print "".join([x for x in reversed(list(raw_input()))])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
text = raw_input()
n = len(text)
rev = []
for i in range(n):
    rev.append(text[(n-1)-i])
ans = ''.join(rev)
print ans

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

import sys


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


str = sys.stdin.readline().rstrip("\r\n")

print str_reverse(str)

Submission status: Accepted

Solution code:
s = raw_input()
l = list()
for i in xrange(len(s)):
	l.insert(0, s[i])
print "".join(l)

Submission status: Accepted

Solution code:
print "".join(raw_input()[::-1])

Submission status: Accepted

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)

print

Submission status: Accepted

Solution code:
line = raw_input().strip()
print reduce(lambda a, b: a + b, reversed(line))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Reverse Sequence

import sys

string = ""

for line in sys.stdin:
	string = line

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

import sys

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str=raw_input()
str2=""
for i in range(len(str)-1,-1,-1):
    str2+=str[i]
print str2

Submission status: Accepted

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

import sys

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

Submission status: Accepted

Solution code:
string = list(raw_input())
string.reverse()
print "".join(string)

Submission status: Accepted

Solution code:
s = raw_input()

print s[::-1]

Submission status: Accepted

Solution code:
a = raw_input()

print a[::-1]

Submission status: Accepted

Solution code:
l = list(raw_input())
l.reverse()
print "".join(l)

Submission status: Accepted

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

print(r)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
m = str(input());

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

Submission status: Accepted

Solution code:
n=list(input())

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

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:
str = input()
str1_list = list(reversed(str))
str1 = "".join(list(reversed(str)))
print(str1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#87　文字列反転

a = str(input())

rev_a = a[::-1]

print(rev_a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
# coding: utf-8
# 87

s = input()

S=s[::-1]

print(S)