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: # coding=utf-8

###
### for atcorder program
###

import sys
import math

# math class
class mymath:
    ### pi
    pi = 3.14159265358979323846264338

    ### Prime Number
    def pnum_eratosthenes(self, n):
        ptable = [0 for i in range(n+1)]
        plist = []

        for i in range(2, n+1):
            if ptable[i]==0:
                plist.append(i)
                for j in range(i+i, n+1, i):
                    ptable[j] = 1
        return plist

    ### GCD
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)

    ### LCM
    def lcm(self, a, b):
        return (a*b)//self.gcd(a,b)

    ### Mat Multiplication
    def mul(self, A, B):
        ans = []
        for a in A:
            c = 0
            for j, row in enumerate(a):
                c += row*B[j]
            ans.append(c)
        return ans

mymath = mymath()

### output class
class output:
    ### list
    def list(self, l):
        l = list(l)
        #print(" ", end="")
        for i, num in enumerate(l):
            print(num, end="")
            if i != len(l)-1:
                print(" ", end="")
        print()

output = output()

### input sample
#i = input()
#N = int(input())
#A, B, C = [x for x in input().split()]
#N, K = [int(x) for x in input().split()]
#inlist = [int(w) for w in input().split()]

#R = float(input())
#A.append(list(map(int,input().split())))

#for line in sys.stdin.readlines():
#    x, y = [int(temp) for temp in line.split()]

#abc list
#abc = [chr(ord('a') + i) for i in range(26)]

### output sample
#print("{0} {1} {2:.5f}".format(A//B, A%B, A/B))
#print("{0:.6f} {1:.6f}".format(R*R*math.pi,R*2*math.pi))
#print(" {}".format(i), end="")

def get_input():
    N = []
    while True:
        try:
            #N.append(input())
            N.append(int(input()))
        except EOFError:
            break
    return N

N = [int(x) for x in input().split()]
N = sorted(N)

S = ''

for i in N[::-1]:
    S += str(i)+' ' 

print(S[:-1])

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

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

Python: while 1:
    try:
        n = (int(x) for x in input().split())
    except:break

    n = sorted(n,reverse=True)
    for i in range(5):
        if i :
            print(" ", end="")
        print(n[i],end="")
    print()

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

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

Python: l = input().split(' ')
for i in range(5):
    l[i] = int(l[i])
l.sort(reverse = True)
print(l[0], l[1], l[2], l[3], l[4])

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

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

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

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

print()

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

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

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

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

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

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

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

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

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

Python: a = [ int(x) for x in input().strip().split() ]
a = sorted(a, reverse=True)
for i in range(len(a)):
    if i > 0:
        print(" ", end='')
    print(a[i], end='')
print()

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

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

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

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




if __name__ == "__main__":
    main()

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

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

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

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

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

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

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: 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: # -*- coding: utf-8 -*-

print(' '.join(sorted([input().split()], reverse=True)))

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

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

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

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