Go: package main

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

var scanner = bufio.NewScanner(os.Stdin)

func nextInt() int {
	scanner.Scan()
	i, e := strconv.Atoi(scanner.Text())
	if e != nil {
		panic(e)
	}
	return i
}
func main() {
	scanner.Split(bufio.ScanWords)
	nums := make([]int, 5)
	for i := 0; i < 5; i++ {
		nums[i] = nextInt()
	}
	sort.Sort(sort.Reverse(sort.IntSlice(nums)))
	for i, v := range nums {
		if i == len(nums)-1 {
			fmt.Printf("%d\n", v)
		} else {
			fmt.Printf("%d ", v)
		}
	}
}

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)

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