Go: package main

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

func main() {
	mountHeightList := make([]int64, 10)
	scanner := bufio.NewScanner(os.Stdin)
	for i := 0; i < 10; i++ {
		scanner.Scan()
		mountHeightList[i], _ = strconv.ParseInt(scanner.Text(), 10, 64)
	}

	sort.Slice(mountHeightList, func(i, j int) bool { return mountHeightList[i] > mountHeightList[j] })

	for i := 0; i < 3; i++ {
		fmt.Printf("%d\n", mountHeightList[i])
	}
}

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

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

for i in range(1,10):
    line = sys.argv[i]
    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: x=[]
for i in range(10):
    
    n=int(input())
    x.append(n)
x1=sorted(x,reverse=True)

print(x1[0])
print(x1[1])
print(x1[2])

Python: #0001
l = []
for i in range(10):
    l.append(int(input()))
y = sorted(l,reverse=True)
print(y[0])
print(y[1])
print(y[2])

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

Python: #coding:utf-8

l = []
for i in xrange(10):
    a = input()
    l.append(a)

for n in xrange(3):
    print(max(l))
    l.remove(max(l))

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

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

for i in range(0,10):
    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()
print(first)
print(second)
print(third)

exit()

Python: # coding: utf-8
# Here your code !
import sys
line = sys.stdin.readlines()
top = [0,0,0]
for i in range(len(line)):
    line[i] = int(line[i].rstrip("\n"))
    if top[0] < line[i]:
        top[2] = top[1]
        top[1] = top[0]
        top[0] = line[i]
    elif top[1] < line[i]:
        top[2] = top[1]
        top[1] = line[i]
    elif top[2] < line[i]:
        top[2] = line[i]

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

Python: h = [int(input()) for _ in range(10)]
h = sorted(h)[::-1]
for i in range(3):
	print(h[i])

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

print(l[9])
print(l[8])
print(l[7])

Python: import sys
a = []
s = sys.stdin.readline()
while s :
	a.append(int(s))
	s = sys.stdin.readline()

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

Python: print(*sorted([int(input()) for i in range(10)])[:6:-1], sep='\n')

Python: 1819
2003
876
2840
1723
1673
3776
2848
1592
922

Python: import sys
a=[]
for i in sys.stdin:
    a.append(int(i))

x=sorted(a,reverse=True)
print(x[0])
print(x[1])
print(x[2])

Python: i=1
H=[]
while i<=10:
    h=int(input())
    H.append(h)
    i+=1
H.sort(reverse=True)
for i in range(3):
    print(f'{H[i]}')

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

mountains_high_copy=mountains_high.copy()
for i in range(9):
    for j in range(9):
        if mountains_high_copy[j]>mountains_high_copy[j+1]:
            num=mountains_high_copy[j]
            mountains_high_copy[j]=mountains_high_copy[j+1]
            mountains_high_copy[j+1]=num

for i in range(3):
    print(mountains_high_copy[9-i])

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

Python: # Compatible with Python3
# -*- coding: utf-8 -*-
[print(i) for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3]]

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

Python: a = []
for i in range(10):
    list = [int(input())]
    a += list
    srt = sorted(a)

x = srt[:6:-1]
for k in x:
    print(k)

Python: mt = []

for i in range(10):
        mt.append(int(input().strip()))

mt.sort().reverse()

print( mt[0] )
print( mt[1] )
print( mt[2] )

Python: s=[int(input()) for i in range(10)]
s.sort()
print(s[9])
print(s[8])
print(s[7])

Python: h = [0] * 10
for i in range(10):
    h[i] = int(input())

h.sort()
h.reverse()
print(h[0])
print(h[1])
print(h[2])

Python: # coding: utf-8
# Here your code !

mount = [int(input()) for i in range(10)]
a = max(mount)
mount.remove(a)
b = max(mount)
mount.remove(b)
print(a)
print(b)
print(max(mount))

Python: import sys

l = sorted(map(int,sys.stdin.readlines()),reverse=True)
for i in l[:3]:
    print(i)

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

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

for i in range(10):
    for j in range(i,10):
        if (heights[j] > heights[i]):
            w = heights[i]
            heights[i] = heights[j]
            heights[j] = w

print(heights[0:3])

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

hs.sort(reverse = True)

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

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

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

Python: import sys

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

a.sort()
print(a[9])
print(a[8])
print(a[7])

Python: first = 0;
second = 0;
third = 0;
for var in range(0,10):
	N = input()
	if (N>first):
		third = second
		second = first
		first = N
	elif (N>second):
		third = second
		second = N
	elif (N>third):
		third = N
print (first)
print (second)
print (third)

Python: h = list()
for i in range (10):
    a = input()
    a = int(a)
    h.append (a)
h.sort()
print(h[9])
print(h[8])
print(h[7])

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

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

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

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

Python: # AOJ 0001 List of Top 3 Hills
# Python3 2018.6.7 bal4u

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

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

height.sort(reverse=1)

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

Python: from numpy.random import mtrand

mt = []

for i in range(10):
    mt.append(input())

print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))

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

Python: x=[int(input()) for i in range(10)]
x.sort()
print('{}\n{}\n{}' . format(x[9],x[8],x[7]))

Python: mountains = []
for i in range(10):
    mountains.append(int(input()))
for m in sorted(mountains)[-1:-4:-1]:
    print(m)

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

list.sort(x,reverse=True)
print(x[0])
print(x[1])
print(x[2])

Python: import sys

hills = []
for _ in range(10):
    height = int(sys.stdin.readline().strip())
    hills.append(height)

hills.sort(reverse=True)
for i in range(3):
    print(hills[i])

Python: a = [(int)(input()) for i in range(10)]
for i in range(3):
    print(max(a))
    a.remove(max(a))

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

Python: print(*sorted([int(input()) for i in range(10)])[:6:-1], sep='\n')

Python: mmax1 = 0
middle = 0
small = 0
x = 0
for i in range(10):
	x = int(input())
	if max1 < x :
		middle = max1
		max1 = x
		x = 0
	elif middle < x :
		small = middle
		middle = x
		x = 0
	elif small <= x :
		small = x
		x = 0
	x = 0
print(max1)
print(middle)
print(small)