Go: package main

import (
	"fmt"
	"sort"
)

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

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

	sort.Ints(mt)
	fmt.Printf("%d\n%d\n%d\n", mt[9], mt[8], mt[7])

}

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

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

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

Python: def run():
    mount_t = sorted([int(input()) for _ in range(10)])
    for i in range(3):
        print(mount_t[9 - i])



if __name__ == '__main__':
    run()

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


data.sort()
data.reverse()

for i in range(0,3):
    print(data[i])

Python: l = []
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
f = int(input())
g = int(input())
h = int(input())
i = int(input())
j = int(input())

l.append(a)
l.append(b)
l.append(c)
l.append(d)
l.append(e)
l.append(f)
l.append(g)
l.append(h)
l.append(i)
l.append(j)

l.sort()
print(l[-1])
print(l[-2])
print(l[-3])

Python: #coding:UTF-8
def LoT(List):
    List2=sorted(List)
    for i in range(3):
        print(List2[len(List)-1-i])
if __name__=="__main__":
    List=[]
    for i in range(10):
        List.append(int(input()))
    LoT(List)

Python: from sys import stdin

x = [int(input()) for i in range(10)]
x.reverse()
for i in range(3):
    print(i)

Python: M=[]
for i in range(1,11):
    #j="number"+str(i)+"  "
    i=input()
    M.append(int(i)) 
  
M.sort(reverse=True)
#print(M[:3])
print(M[0])
print(M[1])
print(M[2])

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(a[9])
print(a[8])
print(a[7])

Python: # coding:utf-8
mountlist = []
for _ in range(10):
    height = int(input())
    mountlist.append(height)
mountlist.sort()
mountlist.reverse()
[print(x) for x in mountlist[:3]]

Python: ranking = []
while True:
    try:
        height = int(input())
        ranking.append(height)
    except:
        break

sortedRanking = sorted(ranking, reverse=True)
print(sortedRanking[0])
print(sortedRanking[1])
print(sortedRanking[2])

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
# Your code here!

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: m = []
for i in range(10):
  m.append(int(input()))

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

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

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

Python: lit=[]
while True:
    try:
        lit.append(input())
    except EOFError:
        break
result=[0,0,0]
for i in lit:
    if int(i) >result[0]:
        result[2]=result[1]
        result[1]=result[0]
        result[0]=int(i)
        
    elif int(i)>result[1]:
        result[2]=result[1]
        result[1]=int(i)
    elif int(i)>result[2]:
        result[2]=int(i)
for i in result:
    print(i)

Python: a = sorted([int(input()) for _ in range(10)])
print(a[9])
print(a[8])
print(a[7])

Python: a=[]

for i in range(10):
    a.append(int(input()))
    
a.sort()

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

Python: # - coding:utf-8 -*-
from numpy.random import mtrand

mt = []

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

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

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

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

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

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

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

mountains.sort(reverse=True)

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

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

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

print()

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

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

Python: from sys import stdin

x=[int(input()) for i in range(10)]

x.sort(reverse=True)

for i in x[:3]: print(i)

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

Python: a = []
for i in range(10):
    a.append(int(input()))
#print(a)
ad = sorted(a, reverse=True)
for i in ad[:3]:
    print("{}".format(i))

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

for i in range(3):
    print(sorted(A,reverse=True)[i])

Python: import sys
e = [int(i) for i in sys.stdin.readlines()]
for i in range(3):
    m = max(e)
    e.remove(m)
    print (m)

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

y=sorted(x)
print(y[9])
print(y[8])
print(y[7])

Python: print(*sorted([int(input()) for _ in range(10)])[:-4:-1], sep="\n")

Python: if __name__ == '__main__':
    a = [1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922]
    print(sorted(a, reverse=True)[1:4])

Python: mount_list = []

for i in range(1, 11):
  mount_list.append(int(input("Height of mountain" + str(i) + ":")))

mount_list.sort(reverse = True)

for sorted_mounts in mount_list:
  print(sorted_mounts)

Python: ans = []

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

Python: import itertools

l = [int(input()) for i in range(10)]
r = reversed(sorted(l))
for x in itertools.islice(r, 3):
    print(x)

Python: if __name__ == '__main__':
    lst = []
    for i in range(10):
        n = int(input())
        lst.append(n)
    lst.sort(reverse=True)
    for i in range(3):
        print(lst[i])

Python: a=[]
for i in range(10):
    num = int(input())
    a.append(num)
a=sorted(a)
for i in range(3):
    print('{0}'.format(a[9-i]))

Python: #coding:UTF-8

first = 0
second = 0
third = 0
for num in range(10):
    x = int(input())
    if x >  first:
        third = second
        second = first
        first = x
    elif x > second:
        third = second
        second = x
    elif x > third:
        thied = x
print(first)
print(second)
print(third)

Python: x1=[]
for i in range(10):
    h=int(input())
    x1.append(h)
x=sorted(x1,reverse=True)
print(x[0])
print(x[1])
print(x[2])

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

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])
print(heights[1])
print(heights[2])

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)