Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"sort"
	"strconv"
)

var scanner = bufio.NewScanner(os.Stdin)

func nextString() string {
	scanner.Scan()
	return scanner.Text()
}

func nextInt() int {
	n, err := strconv.Atoi(nextString())
	if err != nil {
		fmt.Printf("strconv.Atoi failed: %v\n", err)
	}
	return n
}

func main() {
	scanner.Split(bufio.ScanWords)

	n := 5
	array := make([]int, n)
	for i := 0; i < n; i++ {
		array[i] = nextInt()
	}
	sort.Slice(array, func(i, j int) bool { return array[i] > array[j] })
	arrayStr := fmt.Sprint(array)
	l := len(arrayStr)
	fmt.Println(arrayStr[1:(l - 1)])
}

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

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

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

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

a.sort()
a.reverse()
print(*a)

Python: l = list(map(int, input().split))

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

Python: # AOJ 0018 Sorting Five Numbers
# Python3 2018.6.11 bal4u

a = list(map(int, input().split()))
a.sort(reverse=True)
for i in a:
	print(i, end = " ")
print()

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

Python: a = list(map(int,input().split()))
a.sort(reverse = True)
print(a[0],a[1],a[2],a[3],a[4])

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

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

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

Python: '''
Created on Mar 22, 2013

@author: wukc
'''

from sys import stdin

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

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

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

print()

Python: numlist = [eval(item) for item in input().split()]
numlist.sort()
numlist.reverse()
for item in numlist:
	print(item, end = ' ')

Python: # -*- 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()

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

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

print()

Python: 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])

Python: 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

for i in n:
    print(i,end = " ")

print()

Python: l = list(map(int, input().split()))
l.sort(reverse = True)
print(' '.join(map(str, l)))

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

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

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

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

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

Python: a,b,c,d,e = map(int, input().split())
while True:
  if a < b:
    b,a = a,b
  elif b < c:
    c,b = b,c
  elif c < d:
    d,c = c,d
  elif d < e:
    e,d = d,e
  else:
    print(a,b,c,d,e)
    break

Python: # -*- 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)):
    print(n[i],end=' ')

print('')

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

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

if __name__ == '__main__':
    main()

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

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

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

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

Python: L = [int(x) for x in input().split()]

L.sort(reverse=True)
print(" ".join(map(str,L)))

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

Python: input_list = list(map(int, input().split()))
input_list.sort(reverse=True)
print(' '.join(map(str, input_list)))

Python: N = list(map(int, input().split()))
N.sort()

for i in range(5) :
    if(i != 4) :
        print(N[4 - i], end = " ")
    else :
        print(N[0])

Python: num_lst = list(map(int,input().split()))
print(*reversed(sorted(num_lst)),sep=' ')

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

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

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

Python: n=map(str,raw_imput().split())
n.sort()
n.reverse()
print(' '.join(n))

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

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

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

Python: 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()

Python: a=input().split(" ")
a.sort()
for i in a[::-1]:
    print(str(i),end="")

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

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

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

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

Python: xs = sorted( [int(x) for x in input().split()] )[::-1]

print( ' '.join( [str(x) for x in xs] ) )

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

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

if __name__ == '__main__':
    main()

Python: import sys

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

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

Python: lst = sorted(list(map(int, input().split())), reverse=True)
for i in range(len(lst)):
    if i != len(lst) - 1:
        print(lst[i], end = " ")
    else:
        print(lst[i])

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

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

Python: # coding=utf-8

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

Python: n=map(int,raw_imput().split())
ans=[]
n.sort()
n.reverse()
for i in n:
	ans.append(str(i))
print(' '.join(ans))

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

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

Python: 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()

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

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