Go: package main

import (
        "fmt"
        "sort"
)


func main() {
        var s []int
        var n int
        for i := 0; i < 5; i++ {
                fmt.Scanf("%d", &n)
                s = append(s, n)
        }
        sort.Ints(s)
        for i:= 1; i <= len(s); i++ {
                fmt.Printf("%d", s[len(s)-i])
                if i < len(s) {
                        fmt.Printf(" ")
                }
        }
        fmt.Printf("\n")
}

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

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

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

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

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

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

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

numList.sort(reverse=True)

print(' '.join(map(str, numList)))

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

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

C++: #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <stack>
#include <queue>

using namespace std;

int main() {

	int no[5];

	for (int i = 0; i < 5; i++)
		cin >> no[i];

	for (int i = 0; i < 5; i++) {
		for (int j = 0; j < 4; j++) {
			if (no[j] < no[j + 1])
				swap(no[j], no[j + 1]);
		}
	}

	for (int i = 0; i < 5; i++)
		cout << no[i] << ' ';
	putchar('\n');

	return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cassert>
#include <vector>
#include <string>
#include <cmath>
#include <map> 
#include <sstream>
#include <cstdio>
#include <complex>
#include <cstring>
using namespace std;
 
const int MAX= 10000100;

#define loop(i,a,b) for(int i = a ; i < b ; i ++)
#define rep(i,a) loop(i,0,a)
#define all(a) (a).begin(),(a).end()
#define ll long long int
#define gcd(a,b) __gcd(a,b)
#define pb(a) push_back(a)
int GCD(int a, int b) {if(!b) return a; return gcd(b, a%b);}
int lcm(int a, int b) {return a*b / gcd(a, b);}

int main(void){
  int a[5];
  rep(i,5)cin>>a[i];
  sort(a,a+5,greater<int>());
  rep(i,5)cout<<a[i]<<(i!=4?' ':'\n');
}