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: s=list(map(int, input().split()))
s.sort()

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

print()

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

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

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

Python: s = list(map(int,input().split()))
print(*sorted(s)[::-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
   print(num[0],end='')
   for i in range(1,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: def run():
    numbers = sorted(list(map(int, input().split())), reverse=True)
    print(' '.join([str(n) for n in numbers]))

if __name__ == '__main__':
    run()

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

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

import sys
import os

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

print(*lst)

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

print(*a)

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

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

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

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

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

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

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

Python: #coding:utf-8

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

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

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

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

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

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

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

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

if __name__ == "__main__":
    main()

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

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

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

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

print()

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

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

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

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

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

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 inp:
    if inp.index(i)<len(inp)-1:
        print (i, end=" ")
    else:
        print (i)

Python: if __name__ == '__main__':

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

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

Python: 

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

print(*list)

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

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

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

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

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

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

Python: 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):
    print(str(a[j]), end=" ")
print("")

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