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: print(*sorted(input().split())[::-1])

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

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

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

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

Python: " ".join(map(str, sorted(map(int, raw_input().strip().sprit(" ")), lambda x , y: y - x)))

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

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

Python: int_list = sorted(list(map(int,input().split()))) #標準入力してリスト化して小さい順に並べる
int_list.reverse() #リストの順番を逆にする
l = [str(a) for a in int_list] #リストのタイプをstr化する
s = ' '.join(l) #リストを連結する
print(s) #出力

Python: a,b,c,d,e=map(int,input().split())
list=[a,b,c,d,e]
list.sort()
list.reverse()
s = list
print(*s)

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

Python: line = [int(i) for i in input().split()]
line.sort(reverse=True)
for l in line:
  print(l, end=" ")

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

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

Python: # Sorting Five Numbers
s = list(map(int, input().split()))
print(*sorted(s,reverse=True))

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

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

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

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

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

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

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

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

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

Python: 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
   for i in range(len(num)):
       print(num[i],end=' ')
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)

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

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

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

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

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

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

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

num.sort(reverse=True)

for i, n in enumerate(num):
    if i == len(num) - 1:
        print(n)
    else:
        print(str(n) + " ", end="")

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

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

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

Python: print(*reversed(map(int,input().split())))

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

Python: a = list(map(int, input().split()))
a.sort()
a.reverse()
for i in  range(5):
  if i == 4:
    print(a[i])
  else:
    print(a[i], "", end = "")

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

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

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

Python: a=map(int,input().split())
a.sort()
a=a[::-1]
print("%d %d %d %d %d"%tuple(a))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Python: *S, = map(int, input().split())
S.sort(reverse=1)
print(*S)

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

Python: line = [int(i) for i in input().split()]
line.sort(reverse=True)
for l in line:
  print(l, end=" ")
print()

Python: for x in sorted(list(map(int, input().split())), reverse=True):
    print(x, end=" ")