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: 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: data = []
for i in range(10):
    data.append(int(input()))
data = sorted(data)
print(data[-1])
print(data[-2])
print(data[-3])

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

if __name__=='__main__':
    main()

Python: if __name__ == "__main__":
    a = []
    for i in range(0,10):
        val = input()
        int(val)
        a.append(val)
        
    a.reverse()
    for i in range(0,3):
        print(a[i])

Python: n=[]
for var in range(0, 10):
    n.append(int(raw_input()))
sorted(n,reverse=True)[:3]

Python: 
mountain = []

for _ in range(10):
	mountain.append(int(input()))
	
mountain.sort()
mountain.reverse()

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

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

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

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

Python: a1=int(input())
a2=int(input())
a3=int(input())
a4=int(input())
a5=int(input())
a6=int(input())
a7=int(input())
a8=int(input())
a9=int(input())
a10=int(input())
s=[]
s=[a1,a2,a3,a4,a5,a6,a7,a8,a9,a10]
s.sort()
print(s[9])
print(s[8])
print(s[7])

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

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

mol.sort(key=None,reverse=True)
for i in range(3):
    print(mol[i])

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

Python: array = [0 for i in range(10)]
for i in range(10):
    array[i] = int(input())
array.sort()

for i in range(9,6,-1):
    print(array[i])

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

Python: 
mountain = []

for _ in range(10):
	mountain.append(int(input()))
	
mountain.sort()
mountain.reverse()

print(mountain[0], mountain[1], mountain[2])

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

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

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

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

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

Python: import sys
heights = sort([ int(h) for h in sys.stdin],reverce)
for h in heights:
    print(h)

Python: a_list = []
for i in range(10):
    while True:
        a = input()
        a = int(a)
        if 0<=a and a<=10000:break
    a_list.append(a)

for i in range(3):
    print(max(a_list))
    a_list.remove(max(a_list))

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

Python: h = [int(input()) for x in range(10)]
h_s = sorted(h, reverse = True)

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

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

input_arr.sort(reverse=True)

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

Python: #!/usr/bin/env python3
#coding: utf-8

# Volume0 - 0001 (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001)

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

li.sort()
li.reverse()

for y in range(3):
    print(li[y])

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

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

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

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

Python: if __name__ == '__main__':
    hight = int(input()).split()
    print(sorted(num, reverse=True)[i] for i in range(0, 3))

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

Python: mountain = []

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

mountain.sort(reverse = True)

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

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

Python: a=[]

for i in range(10):
    b=int(input())
    a.append(b)
    
for i in range(3):
    print(max(a))
    a.remove(max(a))

Python: def main():
    l = []
    for _ in range(10):
        l.append(int(input()))
    l = sorted(l, reverse=True)
    for i in range(3):
        print(l[i])
    return None

if __name__ == '__main__':
    main()

Python: #!/usr/bin/env python
# -*- coding: utf-8 -*-

h = [int(input()) for i in range(10)]
h.sort()
h.reverse()

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

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

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

Python: l = [a,b,c,d,e,f,g,h,i,j]
a,b,c,d,e,f,g,h,i,j = int(input())
l.sort()
print(l[-1])
print(l[-2])
print(l[-3])

Python: "\n".join(reversed(sorted([input() for i in range(10)]))[:3])

Python: import sys
l = []
for i in range(10):
    l.append(int(sys.stdin.readline().rstrip()))
for h in sorted(l,reverse=True)[:3]:
    print(h)

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

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

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

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

m_h.sort(reverse=True)

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

Python: mount_list = []

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

mount_list.sort(reverse = True)

for sorted_mounts in mount_list:
  print(sorted_mounts)

Python: rank = [0] * 4
for _ in range(10):
    rank[0] = int(input())
    rank.sort()
for r in reversed(rank[1:]):
    print(r)

Python: import sys
a=[map(int,i.split())for i in sys.stdin]
print(*sorted(a,reverse=True)[:3],sep='\n')

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

size = len(list)
print(list[size-1])
print(list[size-2])
print(list[size-3])

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

def main():
    List=[]

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

    List.sort(reverse=True)
    print(List[0])
    print(List[1])
    print(List[2])
        
 
if __name__ == '__main__':
    main()

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

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

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

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

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