Problem:


Sorting Five Numbers

Write a program which reads five numbers and sorts them in descending order.

Input

Input consists of five numbers a, b, c, d and  e (-100000 ≤ a, b, c, d,e ≤ 100000). The five numbers are separeted by a space.

Output

Print the ordered numbers in a line. Adjacent numbers should be separated by a space.

Sample Input

3 6 9 7 5

Output for the Sample Input

9 7 6 5 3



Sample input:
3 6 9 7 5


Sample output:
9 7 6 5 3

Submission status: Wrong Answer

Solution code:
n = map(int, raw_input().split())
for i in sorted(n):
    print i,

Submission status: Wrong Answer

Solution code:
while True:
    try:
        print "%d %d %d %d %d" % tuple(sorted(list(map(eval,raw_input().split()))))
    except EOFError: break

Submission status: Wrong Answer

Solution code:
s=list(map(int, input().split()))
s.sort()

for i in s:
    print(str(i)+" ", end="")

print()

Submission status: Wrong Answer

Solution code:
s=list(map(int, input().split()))
s.sort()

for i in s:
    print(str(i), end="")
    if i != s[-1]:
        print(" ", end="")

print()

Submission status: Wrong Answer

Solution code:
s=list(map(int, input().split()))
s.sort()
s.reverse()

for i in s:
    print(i, end="")
    if i != s[-1]:
        print(" ", end="")
    else:
        print()

Submission status: Wrong Answer

Solution code:
n = raw_input()
a = n.split()
a.sort()
a = a[::-1]
print " ".join(a)

Submission status: Wrong Answer

Solution code:
input_line = raw_input().split()
input_line.sort(reverse=True)
print ' '.join(input_line)

Submission status: Wrong Answer

Solution code:
import sys

for input_line in sys.stdin:
    input_line = input_line.split()
    input_line.sort(reverse=True)
    print ' '.join(input_line)

Submission status: Wrong Answer

Solution code:
nums = input().split()
print(" ".join(nums.sort(reverse=True) or nums))

Submission status: Wrong Answer

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

def main():
    LIST=input().split()
    LIST.sort(reverse=True)

    print("{0} {1} {2} {3} {4}".format(LIST[0],LIST[1],LIST[2],LIST[3],LIST[4]))
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

def main():
    LIST=input().split()
    LIST.sort(reverse=True)
    map(int(),LIST)
    print("{0} {1} {2} {3} {4}".format(LIST[0],LIST[1],LIST[2],LIST[3],LIST[4]))
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

def main():
    l=input().split()
    l.sort(reverse=True)
    print(l[0],l[1],l[2],l[3],l[4])
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

def main():
    l=input().split(" ")
    l.sort(reverse=True)
    print(int(l[0]),int(l[1]),int(l[2]),int(l[3]),int(l[4]))
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
l=input().split(" ")
l.sort(reverse=True)
print(int(l[0]),int(l[1]),int(l[2]),int(l[3]),int(l[4]))

Submission status: Wrong Answer

Solution code:
L = map(int, raw_input().split())

print sorted(L, reverse = True)

Submission status: Wrong Answer

Solution code:
a=input().split(" ")
a.sort(reverse=True)
print(a[0], a[1], a[2], a[3], a[4])

Submission status: Wrong Answer

Solution code:
a=input().split(" ")
a.sort(reverse=True)
' '.join(a)

Submission status: Wrong Answer

Solution code:
a=input().split(" ")
a.sort(reverse=True)
print(' '.join(a))

Submission status: Wrong Answer

Solution code:
nums = map(int, raw_input().split())
nums_sort = sorted(nums)
ans = " ".join(map(str,nums_sort))
print ans

Submission status: Wrong Answer

Solution code:
print(*sorted(input().split(), reverse=True))

Submission status: Wrong Answer

Solution code:
print(' '.join(sorted(input().split())[::-1]))

Submission status: Wrong Answer

Solution code:
n=map(str,raw_input().split())
n.sort()
n.reverse()
print(" ".join(n))

Submission status: Wrong Answer

Solution code:
s = input().split()
arr = [int(s[i]) for i in range(5)]
arr.sort(reverse=True)
print(arr)

Submission status: Wrong Answer

Solution code:
print(' '.join(sorted(input().split(), reverse=True)))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
l = input().split()
print(' '.join(str(e) for e in sorted(l, reverse=True)))

Submission status: Wrong Answer

Solution code:
x = map(int, raw_input().split(" "))

x.sort()

for i in range(5):
  print x[i],

Submission status: Wrong Answer

Solution code:
print(' '.join(sorted((input().split()), reverse=True)))

Submission status: Wrong Answer

Solution code:
print(' '.join(map(str, reversed(sorted(input().split())))))

Submission status: Wrong Answer

Solution code:
a=sorted([int(i) for i in input().split()],reverse=True)
print(",".join(map(str,a)))

Submission status: Wrong Answer

Solution code:
print(sorted(list(map(int, input().split())), reverse=True))

Submission status: Wrong Answer

Solution code:
print(' '.join(sorted(list(map(str, input().split())), reverse=True)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(*sorted(input().split())[::-1])

Submission status: Wrong Answer

Solution code:
a = [int(temp) for temp in input().split()]
a.sort
a = [str(temp) for temp in a]
print(' '.join(a))

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
l.sort(reverse=True)
print(l)

Submission status: Wrong Answer

Solution code:
print(*sorted(list(map(int, input().split()))[::-1]))

Submission status: Wrong Answer

Solution code:
print(sorted(map(int, input().split()), reverse=True))

Submission status: Wrong Answer

Solution code:
x=input().split()
y=sorted(x,reverse=True)
for i in range(len(y)-1):
	print(y[i],end="")
	print(' ',end="")
print(y[len(y)-1])

Submission status: Wrong Answer

Solution code:
x=input().split()
y=sorted(x,reverse=True)
a=[]
b=[]
for i in range(len(y)):
	if int(y[i])>=0:
		a.append(y[i])
	else:
		b.append(abs(int(y[i])))
b=sorted(b)
for i in range(len(b)):
	a.append(-b[i])
for i in range(len(a)-1):
	print(a[i],end="")
	print(' ',end="")
print(a[len(a)-1])

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-
a=map(int,raw_input().split(" "))
a.sort(reverse=True)
for val in a:
	print val

Submission status: Wrong Answer

Solution code:
def main():
    A = input().split()
    A.sort()
    A.reverse()   
    _str = " ".join(A)
    print(_str)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
l = raw_input().split()
l.sort()
l.reverse()
output = ' '.join(l)
print output

Submission status: Wrong Answer

Solution code:
while True:
    try:
        l = raw_input().split()
        if len(l)==0:
            break
        l.sort()
        l.reverse()
        output = ' '.join(l)
        print output
    except:
        break

Submission status: Wrong Answer

Solution code:
print(*sorted(input().split())[::-1])

Submission status: Wrong Answer

Solution code:
print(*reversed(list(map(int,input().split()))))

Submission status: Wrong Answer

Solution code:
print(*reversed([int(e)for e in input().split()]))

Submission status: Wrong Answer

Solution code:
print(reversed(sorted(map(int,input().split()))[::-1]))

Submission status: Wrong Answer

Solution code:
print(" ".join(sorted([i for i in input().split()],reverse=True)))

Submission status: Wrong Answer

Solution code:
lst = map(int,raw_input().split())
lst.sort()
lst.reverse()
print lst

Submission status: Wrong Answer

Solution code:
x = map(int, raw_input().split(' '))
x.sort()
for a in x:
   print a,

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python

import sys

for line in sys.stdin:
	l = line.strip().split()
	l.sort()
	l.reverse()
	out = ' '.join(l)
	print out

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python

line = raw_input()
l = line.strip().split()
l.sort()
l.reverse()
out = ' '.join(l)
print out

Submission status: Wrong Answer

Solution code:
print ' '.join(sorted(raw_input().split(), reverse=True))

Submission status: Wrong Answer

Solution code:
print ' '.join(sorted(raw_input().strip().split(), reverse=True))

Submission status: Wrong Answer

Solution code:
print ' '.join(sorted(raw_input().split(' '), reverse=True))

Submission status: Wrong Answer

Solution code:
nums = raw_input().split()
nums.sort(reverse=True)
print " ".join(nums)

Submission status: Wrong Answer

Solution code:
ns = map(int, raw_input().split(" "))
count = 0
for loop in xrange(4):
	for i in xrange(4):
		if ns[i] < ns[i+1]:
			print ns[i+1]
			ns[i] , ns[i+1] = ns[i+1] , ns[i]
print ns[0],ns[1],ns[2],ns[3],ns[4]

Submission status: Wrong Answer

Solution code:
print(' '.join(map(str, sorted(map(int, input().split())))))

Submission status: Wrong Answer

Solution code:
import sys

for s in sys.stdin:
    print(' '.join(map(str, sorted(map(int, s.split())))))

Submission status: Accepted

Solution code:
s = input()
s = s.split()
n = []

for i in s:
    n.append(int(i))

isSorted = False

while(not isSorted):
    isSorted = True
    for i in range(4):
        if n[i] < n[i + 1]:
            temp = n[i]
            n[i] = n[i + 1]
            n[i + 1] = temp
            isSorted = False

print(n[0],n[1],n[2],n[3],n[4])

Submission status: Accepted

Solution code:
n = map(int, raw_input().split())
n.sort(reverse=True)
for i in n:
    print i,

Submission status: Accepted

Solution code:
a = list(map(int, (input().split())))
a = sorted(a, reverse=True)
for i in range(4): print(a[i],end=' ')
print(a[4])

Submission status: Accepted

Solution code:
n = map(int, raw_input().split())
n.sort(reverse = True)
for i in range(len(n)):
    print(n[i]),
print

Submission status: Accepted

Solution code:
while True:
    try:
        print "%d %d %d %d %d" % tuple(sorted(list(map(eval,raw_input().split())),reverse=True))
    except EOFError: break

Submission status: Accepted

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


import sys

for s in sys.stdin:
  d = map(int , s.split())
  d.sort()
  d.reverse()
  for e in d:
    print e,

Submission status: Accepted

Solution code:
lis=list(map(int,input().split()))
lis.sort()
for i in range(4,-1,-1):
    if i!=4:
        print(" ",end="")

    print(lis[i],end="")

print("")

Submission status: Accepted

Solution code:
print(*sorted(list(map(int, input().split())))[::-1])

Submission status: Accepted

Solution code:
ls = map(int,raw_input().split())
ls.sort(reverse=True)
print " ".join(map(str,ls))

Submission status: Accepted

Solution code:
L=map(int,raw_input().split(" "))
print " ".join(map(str,sorted(L,reverse=True)))

Submission status: Accepted

Solution code:
def int_sort(num1, num2):
	return cmp(int(num1), int(num2))

n = raw_input()
a = n.split()
a = sorted(a, cmp=int_sort)
a = a[::-1]
print " ".join(a)

Submission status: Accepted

Solution code:
ls = sorted(map(int, raw_input().split()))
for i in ls[::-1]:
    print i,

Submission status: Accepted

Solution code:
for i in sorted(map(int,raw_input().split()))[::-1]:print i,

Submission status: Accepted

Solution code:
import sys

for input_line in sys.stdin:
    input_line = input_line.split()
    input_line = [int(char) for char in input_line]
    input_line.sort(reverse=True)
    input_line = [str(num) for num in input_line]
    print ' '.join(input_line)

Submission status: Accepted

Solution code:
import sys

a = input()
n = list(map(int, a.strip().split()))

n.sort()
n.reverse()

for i in range(len(n)):
    print(n[i], end="")
    if i < len(n)-1:
        print(" ", end="")

print()

Submission status: Accepted

Solution code:
x = map(int, raw_input().split())
x.sort()
x.reverse()
output = ''
for num in x:
	output += str(num) + ' '
print output.strip()

Submission status: Accepted

Solution code:
l=map(int,raw_input().split())
l.sort()
for i in l[::-1]:
    print i,
print

Submission status: Accepted

Solution code:
l = [int(i) for i in input().split()]
l.sort()
l.reverse()
print(' '.join([str(i) for i in l]))

Submission status: Accepted

Solution code:
from math import *
PI = 3.1415926535898
while True:
	try:
		n = map(int, raw_input().strip().split(' '))
		n.sort()
		ans = ""
		c = False
		for x in reversed(n):
			if c:
				ans += ' '
			c = True
			ans += str(x)
		print ans
	except EOFError:
		break

Submission status: Accepted

Solution code:
print(' '.join(map(str, sorted(map(int, input().split()), reverse=True))))

Submission status: Accepted

Solution code:
def sort(num):
   l = len(num)
   for i in range(0,l):
        for j in range(0,l-i-1):
            if num[j] < num[j+1]:
               temp = num[j]
               num[j] = num[j+1]
               num[j+1]=temp
   print(num[0],end='')
   for i in range(1,len(num)-1):
       print('',num[i],end='')
   print('',num[i+1])

a , b , c , d , e = map(int,input().split())
num = []
num.append(a)
num.append(b)
num.append(c)
num.append(d)
num.append(e)
sort(num)

Submission status: Accepted

Solution code:
import sys

line = sys.stdin.readline()
line = line.split(" ")
inp = []
for i in line:
    inp.append(int(i))
inp.sort()
inp.reverse()
for i in range(len(inp)):
    if i<len(inp)-1:
        print (inp[i], end=" ")
    else:
        print (inp[i])

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
a = map(int, raw_input().split(" "))
a.sort(reverse = True)
for val in a:
    print val,

Submission status: Accepted

Solution code:
l = [int(s) for s in raw_input().split()]
l = [str(s) for s in sorted(l, reverse=True)]
print ' '.join(l)

Submission status: Accepted

Solution code:
print(*sorted(map(int, input().split()), reverse=True))

Submission status: Accepted

Solution code:
#! -*- coding:utf-8 -*-
nums = map(int, raw_input().split())
nums_sort = sorted(nums,reverse=True)
ans = " ".join(map(str,nums_sort))
print ans

Submission status: Accepted

Solution code:
#coding:utf-8

l = map(int, raw_input(). split())
l = sorted(l)
print l[4],l[3],l[2],l[1],l[0]

Submission status: Accepted

Solution code:
print(' '.join(map(str,sorted(list(map(int,input().split())))[::-1])))

Submission status: Accepted

Solution code:
a=sorted(map(int,raw_input().split()))[::-1]
print("%d %d %d %d %d"%tuple(a))

Submission status: Accepted

Solution code:
#coding:utf-8

l = map(int, raw_input(). split())
l = sorted(l, reverse=True)
print("%d %d %d %d %d" % (l[0], l[1], l[2], l[3], l[4]))

Submission status: Accepted

Solution code:
A=[int(i) for i in input().split()]
A.sort(reverse=True)
print(" ".join(map(str,A)))

Submission status: Accepted

Solution code:
#encoding=utf-8

num = map(int, raw_input().split())
num.sort()
num = num[::-1]
for i in xrange(len(num)):
    print num[i],

Submission status: Accepted

Solution code:
#coding:utf-8

l = map(int, raw_input(). split())
l.sort()
l.reverse()
for i in xrange(len(l)):
    print(l[i]),

Submission status: Accepted

Solution code:
A=list(map(int, input().split()))
A.sort()
A.reverse()
print(*A)

Submission status: Accepted

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

import sys

def merge(A, left, mid, right):
    n1 = mid-left
    n2 = right-mid
    L = [0]*(n1+1)
    R = [0]*(n2+1)
    for i in range(n1):
        L[i] = A[left+i]
    for i in range(n2):
        R[i] = A[mid+i]
    L[n1] = R[n2] = sys.maxint
    i = j = 0
    for k in range(left, right):
        if L[i] <= R[j]:
            A[k] = L[i]
            i += 1
        else:
            A[k] = R[j]
            j += 1

def mergeSort(A, left, right):
    if left+1 < right:
        mid = (left+right)/2
        mergeSort(A, left, mid)
        mergeSort(A, mid, right)
        merge(A, left, mid, right)

A = map(int, raw_input().split())
mergeSort(A, 0, 5)
print " ".join(map(str, A[::-1]))

Submission status: Accepted

Solution code:
numbers = list(map(int, input().split()))
numbers.sort()
numbers.reverse()
print(' '.join(map(str, numbers)))

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
a.sort()
print(*a[::-1])

Submission status: Accepted

Solution code:
n=map(int,raw_input().split())
n.sort()
n.reverse()
n=map(str,n)
print(" ".join(n))

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))
l.sort()
l.reverse()
sl = list(map(str, l))
print(" ".join(sl))

Submission status: Accepted

Solution code:
print(" ".join(map(str, reversed(sorted(map(int, input().split()))))))

Submission status: Accepted

Solution code:
s = input().split()
arr = [int(s[i]) for i in range(5)]
arr.sort(reverse=True)
for i in range(len(arr)):
    if i != len(arr)-1:
        print(arr[i], end=" ")
    else:
        print(arr[i])

Submission status: Accepted

Solution code:
print(' '.join(map(str, sorted(list(map(int, input().split())), reverse=True))))

Submission status: Accepted

Solution code:
data = raw_input().split(' ')
data = map(str, sorted(map(int, data))[::-1])
print ' '.join(data)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
l = [int(e) for e in input().split()]
print(' '.join(str(e) for e in sorted(l, reverse=True)))

Submission status: Accepted

Solution code:
l = sorted(map(int, input().split()), reverse=True)
print(' '.join(map(str, l)))

Submission status: Accepted

Solution code:
x = map(int, raw_input().split(" "))

x.sort()

for i in range(5):
  print x[4-i],

Submission status: Accepted

Solution code:
numlist = [eval(item) for item in input().split()]
numlist.sort()
numlist.reverse()
for i in range(len(numlist)):
	print(numlist[i], end = '')
	if i != len(numlist) - 1:
		print(end = ' ')
print()

Submission status: Accepted

Solution code:
numlist = [eval(item) for item in input().split()]
numlist.sort()
numlist.reverse()
for i in range(len(numlist)):
    print(numlist[i], end = '')
    if i != len(numlist) - 1:
        print(end = ' ')
print()

Submission status: Accepted

Solution code:
n = [int(x) for x in input().split()]
print(*sorted(n, reverse=True))

Submission status: Accepted

Solution code:
print " ".join(map(str, sorted(map(int, raw_input().split()), reverse=True)))

Submission status: Accepted

Solution code:
print(' '.join(map(str, reversed(sorted(map(int, input().split()))))))

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
a.sort(reverse = True);

print(*a)

Submission status: Accepted

Solution code:
print ' '.join(map(str, sorted(map(int, raw_input().split()))[::-1]))

Submission status: Accepted

Solution code:
line = input().split()
print(' '.join(sorted(line, key=int, reverse=True)))

Submission status: Accepted

Solution code:
Num = list(map(int,input().split()))
Num.sort()
Num = Num[::-1]
for i in range(len(Num)):
    if i == len(Num)-1:
        print(Num[i])
    else:
        print(Num[i],end = ' ')

Submission status: Accepted

Solution code:
print(" ".join(list(map(str, sorted(list(map(int, input().split())), reverse=True)))))

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    # ??????????????\???
    data = [int(x) for x in input().split(' ')]

    # ??´????????????
    data.sort(reverse=True)

    # ???????????????
    print(*data)

Submission status: Accepted

Solution code:
a=sorted([int(i) for i in input().split()],reverse=True)
print(" ".join(map(str,a)))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A=[int(i) for i in input().split()]
A.sort()
print("{} {} {} {} {}".format(A[4],A[3],A[2],A[1],A[0]))

Submission status: Accepted

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

data = input()
n = [0]*5
n[0],n[1],n[2],n[3],n[4] = map(int,data.split(' '))

count = 0
while True:
    for i in range(len(n)-1):
        if n[i] < n[i+1]:
            tmp = n[i]
            n[i] = n[i+1]
            n[i+1] = tmp
    count += 1
    if count == 5:
        break

for i in range(len(n)-1):
    print(n[i],end=' ')

print(n[len(n)-1])

Submission status: Accepted

Solution code:
a=sorted([int(i) for i in input().split()],reverse=True)
print(" ".join([str(i) for i in a]))

Submission status: Accepted

Solution code:
a=sorted([int(i) for i in input().split()],reverse=True)
print(*a)

Submission status: Accepted

Solution code:
print(*sorted([int(i) for i in input().split()],reverse=True))

Submission status: Accepted

Solution code:
def to_i(e):
  return int(e)

l = map(to_i, raw_input().rstrip().split(" "))
l.sort()
l.reverse()

print "{} {} {} {} {}".format(l[0], l[1], l[2], l[3], l[4])

Submission status: Accepted

Solution code:
print(*sorted(map(int,input().split()))[::-1])

Submission status: Accepted

Solution code:
nums = list(map(int, input().split()))
nums.sort()
nums.reverse()
print(*nums)

Submission status: Accepted

Solution code:
m=map(int,input().split())
s = sorted(m)
s.reverse()
print(*s)

Submission status: Accepted

Solution code:
import sys
import math as mas

a=list(map(int,input().split()))
a.sort()
a.reverse()
print(*a)

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))

Submission status: Accepted

Solution code:
import sys
import math as mas

print(*reversed(sorted(list(map(int,input().split())))))

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))

Submission status: Accepted

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

import sys
import os

lst = list(map(int, input().split()))
lst.sort(reverse=True)

print(*lst)

Submission status: Accepted

Solution code:
a = [int(temp) for temp in input().split()]
a.sort(reverse = True)
a = [str(temp) for temp in a]
print(' '.join(a))

Submission status: Accepted

Solution code:


list = list(map(int,input().split(' ')))
list.sort(reverse = True);

print(*list)

Submission status: Accepted

Solution code:
import sys
from functools import reduce
l = sorted(map(int,sys.stdin.readline().rstrip().split(' ')))[::-1]
print(' '.join(map(str,l)))

Submission status: Accepted

Solution code:
def main():
    numbers = map(int, input().split())
    numbers = sorted(numbers, reverse=True)
    print(*numbers)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
print(" ".join(map(str,sorted(map(int,input().split()))[::-1])))

Submission status: Accepted

Solution code:
l = list(map(int,input().split()))
l.sort(reverse=True)
l = [str(i) for i in l]
print(' '.join(l))

Submission status: Accepted

Solution code:
def sort(A):
    N=len(A)
    for i in range(N):
        for j in range(N-i-1):
            if A[j] < A[j+1]:
                temp=A[j+1]
                A[j+1]=A[j]
                A[j]=temp
    return A
A=list(map(int,input().split()))
print(" ".join(list(map(str,sort(A)))))

Submission status: Accepted

Solution code:
ls = list(map(int,input().split()))

ls.sort()
ls.reverse()
print(*ls)

Submission status: Accepted

Solution code:
print(" ".join(map(str, sorted(list(map(int, input().split())), reverse=True))))

Submission status: Accepted

Solution code:
ls = list(map(int, input().split()))
ls.sort()
ls.reverse()
print(*ls)

Submission status: Accepted

Solution code:
a = [int(i) for i in input().split()]
sort = sorted(a, reverse=True)
for i in range(5):
    if i == 4:
        print(sort[i])
    else:
        print(sort[i], end = " ")

Submission status: Accepted

Solution code:
user = input()
a = []
b = []
b = user.split()
for i in range(5):
    a.append(int(b[i]))
for j in range(4):
    for k in range(j+1, 5):  # j<k
        if a[j] < a[k]:
            tmp = a[j]
            a[j] = a[k]
            a[k] = tmp

for j in range(5):
    if j == 4:
        print(a[j])
    else:
        print(str(a[j]), end=" ")

Submission status: Accepted

Solution code:
def main():
    a = list(map(int, input().split()))
    a.sort(reverse = True)
    for x in range(len(a)):
        if x == len(a) - 1:
            print(a[x])
        else:
            print(a[x], end = " ")
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# Aizu Problem 0018: Sorting Five Numbers
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


print(' '.join([str(_) for _ in sorted([int(__) for __ in input().split()], reverse=True)]))

Submission status: Accepted

Solution code:
import sys

def SortingFiveNumbers():
    for line in sys.stdin:
        num=list(map(int,line.split()))
        
        num.sort()
        num.reverse()
        print(' '.join(map(str,num)))
        
            
                
    
SortingFiveNumbers()

Submission status: Accepted

Solution code:

if __name__ == '__main__':
    a = list(map(int,input().split()))
    a.sort(reverse = True)
    print(*a)

Submission status: Accepted

Solution code:
# coding=utf-8

number_list = list(map(int, input().split()))
number_list.sort()
number_list.reverse()
print(' '.join(map(str, number_list)))

Submission status: Accepted

Solution code:
x=map(int,input().split())
y=sorted(x,reverse=True)
print(*y)

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
a=map(int,raw_input().split(" "))
a.sort(reverse=True)
for val in a:
	print val,

Submission status: Accepted

Solution code:
line = [int(i) for i in input().split()]
line.sort(reverse=True)
for i in range(5):
  print(line[i], end=" " if i != 4 else "\n")

Submission status: Accepted

Solution code:
def main():
    A = list(map(int,input().split()))
    A.sort()
    A.reverse()   
    print(*A)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
a.sort()
a.reverse()
print(*a)

Submission status: Accepted

Solution code:
l = map(int,raw_input().split())
l.sort()
l.reverse()
l = list(map(str, l))
output = ' '.join(l)
print output

Submission status: Accepted

Solution code:
print(*sorted(map(int, input().split()))[::-1])

Submission status: Accepted

Solution code:
a=[int(i) for i in input().split()]
a.sort(reverse=True)
print(*a)

Submission status: Accepted

Solution code:
A = [int(i) for i in input().split()]
A.sort()
A.reverse()
print(A[0],A[1],A[2],A[3],A[4])

Submission status: Accepted

Solution code:
print(*sorted(map(int,input().split()))[::-1])

Submission status: Accepted

Solution code:
print(*reversed(sorted(map(int,input().split()))))

Submission status: Accepted

Solution code:
print(*sorted(list(map(int,input().split())))[::-1])

Submission status: Accepted

Solution code:
print(" ".join(map(str,sorted([int(i) for i in input().split()],reverse=True))))

Submission status: Accepted

Solution code:
print(" ".join(map(str, sorted(list(map(int, input().split())), reverse = True))))

Submission status: Accepted

Solution code:
print(" ".join(map(str,sorted(list(map(int, input().split())), reverse=True))))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# AOJ 0018 Sorting Five Numbers
# Python3 2018.6.11 bal4u

a = list(map(int, input().split()))
a.sort()
print(*a[::-1])

Submission status: Accepted

Solution code:
a = map(int,raw_input().split())
a.sort()
a.reverse()
for i in range(len(a)):
  print a[i],

Submission status: Accepted

Solution code:
list = map(int, raw_input().split())
list.sort(reverse=True)
for i in list:
    print i,

Submission status: Accepted

Solution code:
lst = map(int,raw_input().split())
lst.sort()
lst.reverse()
print lst[0],lst[1],lst[2],lst[3],lst[4]

Submission status: Accepted

Solution code:
for i in sorted(map(int,raw_input().split()),reverse=True):
    print i,

Submission status: Accepted

Solution code:
x = map(int, raw_input().split(' '))
x.sort()
for i in range(len(x)):
   print x[-(i+1)],

Submission status: Accepted

Solution code:
#!/usr/bin/python


def datasets():
    s = raw_input().strip()
    yield [int(w) for w in s.split()]
    
def main():
    for ds in datasets():
        print ' '.join([str(n) for n in sorted(ds, reverse=True)])
        
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
print ' '.join(map(str,list(reversed(sorted(map(int,raw_input().split()))))))

Submission status: Accepted

Solution code:
print " ".join(map(str, sorted(map(int, raw_input().strip().split()), lambda x, y: y - x)))

Submission status: Accepted

Solution code:
for a in reversed(sorted(map(int,raw_input().split()))):print a,

Submission status: Accepted

Solution code:
print " ".join(map(str, sorted(map(int, raw_input().strip().split(" ")), lambda x , y: y - x)))

Submission status: Accepted

Solution code:
l = map(int, raw_input().strip().split(" "));
print " ".join(map(str, sorted(l, lambda x, y: y - x)));

Submission status: Accepted

Solution code:
from __future__ import (absolute_import, division, print_function,
                        unicode_literals)
from sys import stdin
gen = (int(s) for s in stdin.readline().split())
print(' '.join(str(i) for i in sorted(gen, reverse=True)))

Submission status: Accepted

Solution code:
x = map(int,raw_input().split(' '))
x.sort()
x.reverse()
output = ''
for val in x:
	output += str(val) + ' '
print output.strip()

Submission status: Accepted

Solution code:
'''
Created on Mar 22, 2013

@author: wukc
'''

from sys import stdin

a=map(int,stdin.readline().split())
a.sort()
print(" ".join(map(str,a[::-1])))

Submission status: Accepted

Solution code:

import sys

#input_file = open(sys.argv[1], "r")

#for line in input_file:
for line in sys.stdin:
    nums = map(int, line.split(' '))
    nums.sort(lambda x, y: cmp(y, x))
#    print ' '.join(map((lambda x: str(x)), nums))
    print ' '.join(map(str, nums))

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    a = map(int,raw_input().split())

    a.sort()
    a.reverse()
    for i in a:
        print i,

Submission status: Accepted

Solution code:
x = sorted(map(int, raw_input().split()), reverse=True)

for e in x:
    print e,
print

Submission status: Accepted

Solution code:
print ' '.join(map(str, sorted(map(int, raw_input().split()), reverse = True)))

Submission status: Accepted

Solution code:
#!/usr/bin/python

line = raw_input()
l = map(int, line.strip().split())

l.sort()
l.reverse()
l = map(str, l)
out = ' '.join(l)
print out

Submission status: Accepted

Solution code:
x=sorted(map(int, raw_input().split()))
for e in x[::-1]:
    print e,
print

Submission status: Accepted

Solution code:
x=sorted(map(int,raw_input().split()))[::-1]
for e in x:
    print e,
print

Submission status: Accepted

Solution code:
print " ".join(map(str,sorted(map(int,raw_input().split()))[::-1]))

Submission status: Accepted

Solution code:
for e in sorted(map(int,raw_input().split()))[::-1]:
    print e,

Submission status: Accepted

Solution code:
x=sorted(map(int,raw_input().split()))[::-1]
for e in x:
    print e,

Submission status: Accepted

Solution code:
x=sorted(map(int,raw_input().split()))[::-1]
for e in x:print e,

Submission status: Accepted

Solution code:
x=sorted(map(int,raw_input().split()))[::-1]
for e in x: print e,

Submission status: Accepted

Solution code:


import sys

lineNumber = 0

#for line in ["3 6 9 7 5"]:
for line in sys.stdin.readlines():
    lineNumber += 1

    # get data
    List = map(int, line.strip().split(" "))

    List.sort()

    print "%d %d %d %d %d" % (List[4], List[3], List[2], List[1], List[0])

Submission status: Accepted

Solution code:
a = map(int, raw_input().split())
a.sort()
a.reverse()
print " ".join(map(str, a))

Submission status: Accepted

Solution code:
print reduce(lambda x,y:x+y, map(lambda x:str(x)+' ', sorted(map(int, raw_input().split()))[::-1])).rstrip()

Submission status: Accepted

Solution code:
nums = map(int, raw_input().split())
nums.sort(reverse=True)
print " ".join(map(str, nums))

Submission status: Accepted

Solution code:
import string
print string.join(map(str, sorted(map(int, raw_input().split()), reverse=True)))