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: height=[]
for i in range(10):
	height.append(int(input()))
height.sort()
height.reverse()
for i in range(3):
	print(height[i])

Python: N = 10
mnts = []

for i in range(N):
    mnts.append(int(input()))

mnts.sort(reverse=True)

for mnt in mnts[:3]:
    print(mnt)

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: #coding:utf-8

import sys

if __name__ == '__main__':

    nums = []

    for line in sys.stdin:
        if line == "\n":
            break
        else :
            nums.append(int(line))

    for n in sorted(nums, reverse=True)[:3]:
        print(n)

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

Python: l = []

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

l.sort()

for i in range(3):
    print(l[-1 * [i+1]])

Python: a=[]
for i in range(10):
    tmp = input()
    a.append(tmp)
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Python: k=[]
try:
    while True:
        k.append(int(input()))
except EOFError:
    pass
k.sort()
print(k[-1])
print(k[-2])
print(k[-3])

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

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

Python: from sys import stdin
ns = [int(n) for n in stdin]
ns.sort(reverse = True)
for i in range(3):
  print(ns[i])

Python: x = sorted(map(int, input().split()), reverse=True)
for i in range(3):
    print(x[i])

Python: list = [int(x) for x in input().split()]
list.sort(reverse=True)
for i in range(3):
    print(list[i])

Python: import sys
ms =list(map(int, sys.stdin.read().rstrip('\n').split('\n')))
ms.sort()
ms.reverse()
for i in range(3):
    print(ms[i])

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

print(*sorted(a, reverse=True)[:3],sep = '¥n')

Python: moutain = [0 for i in range(10)]
for i in range(10):
    moutain[i] = int(raw_input())
moutain.sort().reverse()
for i in range(3):
    moutain[i]

Python: list = list(map(int, input().split()))
list.sort(reverse=True)
for i in range(3):
    print(list[i])

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

import sys

n = [int(input()) for i in range (1,11)] 
#t = [int(input()) for i in range(n)] 
n.sort()
n.reverse()

for j in range (1,4):
    print(n[j])

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

Python: a=[int(input()) for i in range(10)]
a.sort()
a.reverse()
print(a[0: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

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

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

Python: data = []
for i in range(1,11):
	h = int(input())
	data.append(h)

for i in sorted(data)[::-1][0:3]:
	print(i)

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: mou = []
for i in range(10):
    mou.append(int(input()))
    
mou.sort()
print(mou[9])
print(mou[8])
print(mou[7])

Python: height = []
for i in range(10):
    height.append(int(input()))
for i in range(3):
    most = max(height)
    print(most)
    height[index(most)] = 0

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: l = [input() for i in range(10)]
m = list(map(int,l))

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

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

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

for i in range(10):
    for j in range(9,i,-1):
        if mo[j] < mo[j-1]:
            mo[j],mo[j-1] = mo[j-1],mo[j]

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

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

Python: def __main():

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

__main()

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

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

for k in range(9,0,-1):
    for l in range(k):
        if L[l]>L[l+1]:
            L[l],L[l+1]=L[l+1],L[l]
        l+=1
    k+=1

for j in range(3):
    print(L[-1])
    L.remove(L[-1])
    j+=1

Python: a = list(map(int,input().split()))
a.sort()
print(a[-1])
print(a[-2])
print(a[-3])

Python: import sys

[print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin]]

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
print(max1)
print(middle)
print(small)

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

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

Python: import sys

first = 0
second = 0
third = 0

for line in open(sys.argv[1],"r"):
    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: list = []
for i in range(10):
    list.append(int(input()))
  
list.sort(reverse = True)
for j in range(3):
    print(list[j])

Python: list1 = []
for i in range(1, 11):
    list1.append(input())

for x in range(1, 11):
    for y in range(0, 9):
        if list1[y] < list1[y+1]:
            temp = list1[y]
            list1[y] = list1[y+1]
            list1[y+1] = temp

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

Python: top_three = [0, 0, 0]
for i in range(10):
    input_height = int(input())
    if top_three[0] < input_height:
        top_three[2] = top_three[1]
        top_three[1] = top_three[0]
        top_three[0] = input_height
    elif top_three[1] < input_height:
        top_three[2] = top_three[1]
        top_three[1] = input_height
    elif top_three[2] < input_height:
        top_three[2] = input_height

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

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

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

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

#a = [input() for i in range(N)]
#print a # [a1, a2, a3, ..., aN]

import sys

a = []
for line in sys.stdin:
    a.append(int(line))
#print a # [a1, a2, a3, ...]
sorted(a, reverse=True)
print(a[0])
print(a[1])
print(a[2])

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)