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: "\n".join(sorted([input() for i in range(10)])[:-3:-1])

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

values.sort(reverse=True)
for v in values[:3]:
    print(v)

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

    m.sort(reverse = True)

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

if __name__ == "__main__":
    main()

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

Python: import sys

a = []
for i in sys.stdin:
    a.append(int(i.replace("\n", "")))
a.sort(reverse=True)
del a[3:]
print( "\n".join(map(str, a)))

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

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

a.sort(reverse=True)

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

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

Python: ans=[]
for i in range (0,10):
    ans.append(int(input()))
ans.sort(reverse=True)
for i in range (0,3):
    print(ans[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(0,10):
    a.append(input())
inp = list(map(int,a))

INP=[0,0,0,0,0,0,0,0,0,0]

for i in range(0,10):
    for j in range(i+1,10):
        if inp[i]<inp[j]:
            INP[j]+=1
        elif inp[i]>inp[j]:
            INP[i]+=1
        else:
            INP[i]+=1
            INP[j]+=1

z = 0

for i in range(9,-1,-1):
    if z >= 3:
        break
    for j in range(0,10):
        if i == INP[j]:
            print(inp[j])
            z+=1
        if z >= 3:
            break

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

Python: mountains = []
count = 0
while True:
    height = int(input())
    if height >= 0 and height <= 10000:
        mountains.append(height)
    count += 1
    if count == 10:
        break

mountains.sort()

for i in mountains[:6:-1]:
    print(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]]