Go: package main

import (
	"fmt"
	"sort"
)

func main() {
	mountains := make([]int, 10, 10)

	for i := 0; i < 10; i++ {
		fmt.Scan(&mountains[i])
	}

	sort.Sort(sort.Reverse(sort.IntSlice(mountains)))

	for i := 0; i < 3; i++ {
		fmt.Println(mountains[i])
	}
}

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

def main():
    list = []
    for i in range(10):
        list.append(int(input()))
    list.sort(lambda num_1, num_2: num_2 - num_1)
    for i in range(3):
        print(list[i])

if __name__ == '__main__':
    main()

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

first = 0
second = 0
third = 0
i = 0

for i in range(0,9):
    line = int(input())
    
    if first < int(line):
        third = second
        second = first
        first = int(line)
    elif second < int(line):
        third = second
        second = int(line)
    elif third < int(line):
        third = int(line)

print(first)
print(second)
print(third)

Python: data=[]
for i in range(10):
    data.append(int(input()))
data.sort()
data.reverse()
for i in range(3):
    print(data[i])

Python: from sys import stdin
map(print,sorted([int(l) for l in stdin],reverse=True)[0:3])

Python: a=[]
for i in range(10):
    a.append(int(input()))
counter=3
for u in list(reversed(sorted(a))):
    print(u)
    counter-=1
    if counter==0:
        break

Python: spam = [int(input()) for i in range(0, 10)]
spam.sort()
spam.reverse()
for i in range(1, 3):
    print('{}'.format(spam[i]))

Python: import sys

a = []
for line in sys.stdin:
    a.append(int(line))

a.reverse()
print(a[0])
print(a[1])
print(a[2])

Python: f, s, t = 3,2,1
for i in range(10):
    z = int(input())
    if z >= f:
        f,s,t = z, f, s;
    elif z>=s:
        s,t = z,s;
    elif z>=t:
        t = z
print(f);print(s);print(t)

Python: heightOfMountains = []
for i in range(1, 11):
	heightOfMountains.append(int(input()))
heightOfMountains.sort()
for i in range(1, 4):
	print(heightOfMountains[-i])

Python: 
a=[(1<<29)*-1]*3
for i in range(10):
	h = int(input())
	if h > a[0]:
		a[2]=a[1]
		a[1]=a[0]
		a[0]=h
	elif h > a[1]:
		a[2]=a[1]
		a[1]=h
	elif h > a[2]:
		a[2]=h

for i in range(3):
	print(a[i])

Python: 
m = [int(input()) for i in range(10)]

list.sort(m)

print(m[-1])
print(m[-2])
print(m[-3])

Python: A=[]
for i in range(10):
  n= int(input())
  A.append(n)
A.sort()
A.reverse()
for i in range(0,3):
  print(A[i])

Python: import string

h = input().split()
for i in range(len(h)):
    for j in range(len(h)-1):
        if h[i] < h[j]:
            h[i] = h[j] 
print(h[0])
print(h[1])
print(h[2])

Python: hills = [int(input()) for _ in range(10)]
hills.sort(reverse=True)
top_3_hills = hills[:3]
for i in top_3_hills:
    print(i)

Python: #(49)山の高さ
a=[]
for i in range(10):
     a.append(int(input()))
a.sort()
for i in range(3):
     print(a[-1])
     del a[-1]

Python: 
a = []

while True:
    try:
        n = int(input())
        a.append(n)
    except:
        break

print(max(a))
a.remove(max(a))
print(max(a))
a.remove(max(a))
print(max(a))

Python: a=[]
b=a.sort()
c=b.reverse()
print(c[0:2])

Python: 
l = []
for i in range(0,10):
    l.append(int(input()))

l.sort(reverse=True)
l=l[:3]
for j in l:
    print(j)

Python: for h in sorted([int(input()) for i in range(10)], reverse=True)[0:3]:
    print(h)

Python: a = [int(input()) for i in range(0,10)]
a.sort(reverse=True)
for i in range(0,3):
	print(a[i])

Python: L=[]
M=[]
for i in range(10):
    n=int(input())
    L.append(n)
for j in range(3):
    b=max(L)
    M.append(b)
    L.remove(b)
print(M[0])
print(M[1])
print(M[2])

Python: line = [0]*10
for i in range(0, 10):
    line[i] = int(input())
line.sort(reverse=True, key=int)
for i in range(0, 3):
    print(line[i])

Python: heightlist = list()
for i in range(10):
	heightlist.append(eval(input()))
heightlist.sort()
for i in range(-1, -4, -1):
	print(heightlist[i])

Python: M = []

for i in range(10) :
    M.append(int(input()))
    
Ms = sorted(M, reverse = True)

for j in range(3) :
    print(Ms[j])

Python: M=[]
for i in range(10):
	k=int(input())
	M.append(k)
N=sorted(M)
print(N[-1])
print(N[-2])
print(N[-3])

Python: list=[]
for i in range(10):
    list.append(int(input()))
list.sort(reverse=True)
print(list[0])
print(list[1])
print(list[2])

Python: a=[]
for i in range(10):
    a.append(int(input()))
    a.sort()
print(f'{a[-1]}\n{a[-2]}\n{a[-3]}')

Python: lis=[]
for i in range(10):
  lis.append(int(input()))
 
for i in sorted(lis,reverse=True)[:3]:
  print(i)

Python: mount=[]
for i in range(10):
    mount.append(int(input()))
mount.sort()
for j in range(1,4):
    print(mount[-j])

Python: mount = []
for i in range(10):
    n = int(input())
    mount.append(n)
s = sorted(mount)[::-1]
for i in range(3):
    print(s[i])

Python: T=10
li = []
while T>0:
    H = int(input())
    li.append(H)
    T -= 1
li.sort()
H = len(li)
print(li[H-1])
print(li[H-2])
print(li[H-3])

Python: l=[int(input()) for _ in range(10)]
[print(x) for x in sorted(l,reverse=True)[:3]]

Python: heights=[]
for i in range(10):
    n = int(input())
    heights.append(n)
heights.sort()
print(heights[-1])
print(heights[-2])
print(heights[-3])

Python: Y=[]
for i in range(10):
    Y.append(int(input()))
Y=sorted(Y)
print(Y[9])
print(Y[8])
print(Y[7])

Python: def main():

    mountains_list = [int(input()) for n in range(10)]
    print(list(reversed(sorted(mountains_list)))[:3])
    
main()

Python: map(print,[int(n) for n in stdin].sort(reverse=True)[0:3])

Python: inp = input()
a = [input() for i in range(int(inp))]
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2])

Python: mtheight = []

for i in xrange(0,10):
    mtheight.append(raw_input())

mtheight.sort()
mtheight.reverse()

for i in xrange(0,2):
    print(mtheight[i])

Python: A=[]
for i in range(10):
	A.append(int(input()))

A.sort()
A.reverse()
for i in range(3):
	print(A[i])

Python: m=[int(input())  for i in range(10)]
m.sort(reverse=True)
for i in range(3):
    print(m[i])

Python: # coding: utf-8

mountains = []
for i in range(10):
    mountains.append(int(input()))
    
outputCount = 3    
for height in list(reversed(sorted(mountains))):
    print(height)
    outputCount -= 1
    if outputCount == 0:
        break

Python: def run():
    n = []
    for _ in range(10):
        n.append(int(input()))
    n = sorted(n, reverse=True)
    print('\n'.join([str(_n) for _n in n[:3]]))

if __name__ == '__main__':
    run()

Python: import sys
m = [int(l) for l in sys.stdin]
m.sort()
print(m[-1])
print(m[-2])
print(m[-3])

Python: h = [input() for _ in xrange(10)].sort()
h[0:3]

Python: i = 0
input_null = 0
input_list = []

n = 10 #input個数
while i < n:
    input_list.append(int(input()))
    #print(input_list[i])
    i += 1
    
sort_input_list = sorted(input_list,reverse=True)

j = 0

while j < 3:
    print(sort_input_list[j])
    j += 1

Python: a = [int(input()) for i in range(10)]
a.sort()
print(a[-1])
print(a[-2])
print(a[-3])

Python: data_set=[]
for i in range(0,10):
        data_set.append(input())
top=sorted(data_set,reverse=True)
for i in range(0,3):
        print(top[i])

Python: a = [int(input()) for i in range(10)]
print(*sorted(a, reverse=True)[0:3], sep='\n')

Python: from sys import argv, stdin, stderr, stdout

heights = []
for i in range(0, 10):
	heights.append(int(stdin.readline()))
heights.sort(reverse=True)
for i in range(0, 3):
	stdout.write("%d\n" % heights[i])

Python: if __name__ == '__main__':
    hight = int(input()).split()
    print(sorted(num, reverse=True)[0])
    print(sorted(num, reverse=True)[1])
    print(sorted(num, reverse=True)[2])

Python: def __main():

    mountains = []
    numOfMoun = 10
 
    for c in range(numOfMoun):
        mountains.insert(c,int(input('Height of the mountain ')))
        
    sorted_mounts = sorted(mountains,reverse=True)
    for k in range(3):
        print(sorted_mounts[k])
    

__main()

Python: a=[print(I) for I in sorted([int(input()) for i in range(10)])[:-4:-1]]