submission_id
string
problem_id
string
status
string
code
string
input
string
output
string
problem_description
string
s946605776
p00006
Accepted
str=input() print(str[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s040764027
p00006
Accepted
print(input()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s637950764
p00006
Accepted
s = input() print(s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s307387437
p00006
Accepted
print(input()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s428521627
p00006
Accepted
print raw_input()[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s389647649
p00006
Accepted
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
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s940827386
p00006
Accepted
s = raw_input() print(s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s894111339
p00006
Accepted
while True: try: print(raw_input()[::-1]) except EOFError: break
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s075089214
p00006
Accepted
print raw_input().strip()[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s865432105
p00006
Accepted
line = raw_input() print ''.join(reversed(list(line)))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s299282632
p00006
Accepted
#!/usr/bin/env python # -*- coding: utf-8 -*- s = raw_input() print s[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s845350251
p00006
Accepted
s = raw_input() print s[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s681921233
p00006
Accepted
a=list(map(str,input())) a.reverse() print("".join(a))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s835008127
p00006
Accepted
string = input() print(string[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s285768413
p00006
Accepted
string=input() print(string[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s382340489
p00006
Accepted
# -*- coding: utf-8 -*- import sys s = list(raw_input()) s.reverse() print ''.join(s)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s773389954
p00006
Accepted
#!/usr/bin/env python3 print(''.join(list(reversed(input()))))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s548291252
p00006
Accepted
s = str(raw_input()) print s[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s921463045
p00006
Accepted
#! /usr/bin/python3 s=input() print(s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s017801790
p00006
Accepted
string = raw_input() print string[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s107102225
p00006
Accepted
input = raw_input() print input[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s458869032
p00006
Accepted
n = raw_input() #print n x = list(n) x.reverse() print "".join(x)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s629643884
p00006
Accepted
s=raw_input() rev = "" for x in xrange(len(s),0,-1): rev=rev+s[x-1] print rev
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s226186162
p00006
Accepted
spam = input() spam = [i for i in spam] spam.reverse() spam = ''.join(spam) print(spam)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s643844921
p00006
Accepted
while True: try: print raw_input()[::-1] except EOFError: break
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s823323099
p00006
Accepted
# -*- coding: utf-8 -*- print ( input ( )[::-1] )
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s778180633
p00006
Accepted
s=input() print(s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s493435186
p00006
Accepted
line = raw_input() print line[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s062770033
p00006
Accepted
str = raw_input() str_lis = list(str) str_lis.reverse() print(''.join(str_lis))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s939417911
p00006
Accepted
#!/usr/bin/env python # -*- coding: utf-8 -*- s = raw_input() print s[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s773489401
p00006
Accepted
S = raw_input() print S[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s731943354
p00006
Accepted
# coding: utf-8 #Problem Name: Reverse Sequence #ID: tabris #Mail: t123037@kaiyodai.ac.jp print raw_input()[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s883541612
p00006
Accepted
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)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s813130997
p00006
Accepted
IN=input() print(IN[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s333284015
p00006
Accepted
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("")
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s147383259
p00006
Accepted
S = input() a = '' for i in range(len(S)): a += S[len(S)-i-1] print(a)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s148717646
p00006
Accepted
ss=str(input()) t=list(ss) t.reverse() print("".join(t))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s226554200
p00006
Accepted
while True: try: a = raw_input() print a[::-1] except EOFError: break
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s860227062
p00006
Accepted
import sys line = sys.stdin.readline() inp = line[0:-1] str_list = list(inp) str_list.reverse() ret = "".join(str_list) print (ret)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s142608424
p00006
Accepted
import sys str = sys.stdin.readline()[:-1] print(str[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s109064912
p00006
Accepted
def rev(str): revstr='' for i in range(len(str)-1,-1,-1): revstr=revstr + str[i] return revstr str=input("") print(rev(str))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s199868300
p00006
Accepted
instr = raw_input() print instr[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s548199316
p00006
Accepted
# coding: utf-8 # Here your code ! print(input()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s591020286
p00006
Accepted
instr=input() print(instr[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s036830342
p00006
Accepted
s = raw_input() d = list(s) d.reverse() print "".join(d)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s274452174
p00006
Accepted
string = raw_input() tmp = "" for i in xrange(len(string)): tmp += string[len(string) - i - 1] print tmp
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s209343751
p00006
Accepted
a = input() a_str = str(a) print(a_str[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s284648439
p00006
Accepted
string = input() print(string[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s660172522
p00006
Accepted
x = raw_input() print x[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s479328064
p00006
Accepted
print(raw_input()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s239456692
p00006
Accepted
#coding:utf-8 str = raw_input() print(str[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s935094007
p00006
Accepted
# -*- coding: utf-8 -*- s = str(raw_input()) print s[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s473839972
p00006
Accepted
print("".join([input()[-1::-1]]))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s266991487
p00006
Accepted
x = input() print(x[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s468025504
p00006
Accepted
#Reverse Sequence a = input() print(a[::-1]) #?????¢????????????
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s481210342
p00006
Accepted
from collections import deque s=deque() for i in raw_input(): s.appendleft(i) print(''.join(s))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s646542313
p00006
Accepted
List = list(raw_input()) List.reverse() print "".join(List)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s416273933
p00006
Accepted
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))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s628148686
p00006
Accepted
#!/usr/bin/env python3 # -*- coding: utf-8 -*- if __name__ == '__main__': print(input()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s558010299
p00006
Accepted
print("".join(list(reversed(input()))))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s783651390
p00006
Accepted
str = raw_input() if len(str) <= 20: print str[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s938461517
p00006
Accepted
s = input() print(s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s859096420
p00006
Accepted
# coding: utf-8 inp = input() print(inp[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s195176538
p00006
Accepted
s = input() print (s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s806669434
p00006
Accepted
print(''.join(reversed(list(input()))))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s223899236
p00006
Accepted
print(''.join(reversed(input())))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s953598578
p00006
Accepted
a = input() b = a[::-1] print(b)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s298346330
p00006
Accepted
import sys def main(): s = sys.stdin.readline().strip() print(s[::-1]) if __name__ == '__main__': main()
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s342818565
p00006
Accepted
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()
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s559236721
p00006
Accepted
s=raw_input() a=list(s) a.reverse() b="" for i in a: b+=i print b
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s992543089
p00006
Accepted
str=input() for i in range(len(str)): print(str[len(str)-1-i],end='') print()
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s500295023
p00006
Accepted
import sys for line in sys.stdin: line = line.strip() print(line[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s536754723
p00006
Accepted
l=list(raw_input()) l.reverse() print "".join(l)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s468242042
p00006
Accepted
res=input() print(res[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s246258760
p00006
Accepted
line = input() print(line[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s200417195
p00006
Accepted
# -*- coding: utf-8 -*- import sys def main(): s = input() print(s[::-1]) if __name__ == '__main__': main()
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s611935919
p00006
Accepted
st=list(input()) print("".join(reversed(st)))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s179423047
p00006
Accepted
w = input() print(w[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s547866993
p00006
Accepted
str = input() print(str[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s852445645
p00006
Accepted
if __name__ == '__main__': # ???????????\??? txt = input() # ?????¢?????? txt = txt[::-1] # ??????????????? print(txt)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s383901957
p00006
Accepted
import sys str_sequence = input() if len(str_sequence) > 20: sys.exit(1) print(str_sequence[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s050179179
p00006
Accepted
# -*- 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('')
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s282020143
p00006
Accepted
str = input() kai = str[::-1] print(kai)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s669014537
p00006
Accepted
import sys print(input()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s947919396
p00006
Accepted
a = 1 while a: print(input()[::-1]) a = 0
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s007956090
p00006
Accepted
line = raw_input() print line[::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s670178740
p00006
Accepted
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)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s916957127
p00006
Accepted
in_str = input().rstrip() out_str = "" for i in range(len(in_str)): out_str = in_str[i] + out_str print(out_str)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s758526449
p00006
Accepted
st = input() ans = "" for i in range(len(st)): ans += st[len(st)-i-1] print(ans)
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s299892815
p00006
Accepted
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys line = sys.stdin.readline().strip() print(line[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s231121697
p00006
Accepted
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys print(sys.stdin.readline().strip()[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s597575976
p00006
Accepted
line = input() print(line[-1::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s747178290
p00006
Accepted
a=raw_input() print a[-1::-1]
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s406872319
p00006
Accepted
str = list(input()) str.reverse() print("".join(str))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s507282284
p00006
Accepted
words=input() for i in range(1,len(words)+1): print(words[-i],end="") print()
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s681192615
p00006
Accepted
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))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s748579134
p00006
Accepted
from functools import reduce from operator import add print(reduce(add, reversed(input())))
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s306479234
p00006
Accepted
print(input()[: : -1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s958661913
p00006
Accepted
# -*- coding: utf-8 -*- import sys import os s = input().strip() print(s[::-1])
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>
s162558047
p00006
Accepted
import sys def main(): for line in sys.stdin: print(line.rstrip()[::-1]) if __name__ == '__main__': main()
w32nimda
admin23w
<H1>Reverse Sequence</H1> <p> Write a program which reverses a given string <var>str</var>. </p> <H2>Input</H2> <p> <var>str</var> (the size of <var>str</var> &le; 20) is given in a line. </p> <H2>Output</H2> <p> Print the reversed <var>str</var> in a line. </p> <H2>Sample Input</H2> <pre> w32nimda </pre> <H2>Output for the Sample Input</H2> <pre> admin23w </pre>