Go: package main

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

var rdr = bufio.NewReaderSize(os.Stdin, 1000000)

func readLine() string {
	buf := make([]byte, 0, 1000000)
	for {
		l, p, e := rdr.ReadLine()
		if e != nil {
			panic(e)
		}
		buf = append(buf, l...)
		if !p {
			break
		}
	}
	return string(buf)
}

func toInt(str string) int {
	n, _ := strconv.Atoi(str)
	return n
}

func main() {
	lst := make([]int, 0)
	for i := 0; i < 10; i++ {
		lst = append(lst, toInt(readLine()))
	}
	sort.Ints(lst)
	for i := 9; i > 6; i-- {
		fmt.Println(lst[i])
	}
}

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(first)
print(second)
print(third)

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

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

print(list[9],list[8],list[7],sep="\n")

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

Python: def main():
    Array = []
    for i in range(10):
        Array.append(int(input()))
    Array.sort()
    Array.reverse()
    count = 0
    for value in Array :
        if count == 3:
            break
        print(value)
        count+=1



if __name__ == '__main__':
    main()

Python: import sys
heights = []
for l in sys.stdin:
  heights.append(int(l))
heights = sorted(heights, reverse=True)
print(heights[0])
print(heights[1])
print(heights[2])

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

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

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

Python: hs = [0] * 10
for i in range(10):
    hs[i] = int(input())
hs = sorted(hs)
for i in range(1, 4):
    print(hs[-i])

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

Python: if __name__ == '__main__':

	tmp = [ int(input()) for _ in range(10)]
	ans = sorted(tmp,reverse=True)

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

Python: import sys
print('\n'.join(map(str, sorted([int(h.strip()) for h in sys.stdin], reverse=True)[:3])))

Python: n = 0
list = []
while n < 10:
    x = input()
    list.append(x)
    n += 1

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

Python: # coding: utf-8
# Your code here!
n1=int(input())
n2=int(input())
n3=int(input())
n4=int(input())
n5=int(input())
n6=int(input())
n7=int(input())
n8=int(input())
n9=int(input())
n10=int(input())

n1,n2,n3,n4,n5,n6,n7,n8,n9,n10=sorted([n1,n2,n3,n4,n5,n6,n7,n8,n9,n10])

print(n10)
print(n9)
print(n8)

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

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

Python: Height = [0]*10

for i in range (10):
    Height[i] = int(input("Height of mountain " + str(i+1) + ":"))
Height.sort()
Height.reverse()
for j in range(3):
    print(Height[j])

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

Python: Height = [0]*10

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

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

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

hills.sort()
hills.reverse()

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

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

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

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

Python: from __future__ import absolute_import, print_function, unicode_literals
import sys

for h in sorted((int(line) for line in sys.stdin), reverse=True)[:3]:
    print(h)

Python: import sys

heights = sorted([int(h) for h in sys.stdin], reverse=True)

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

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

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

Python: mounts = [int(input()) for i in range(1,11)]
mounts.sort()
print(mounts.pop())
print(mounts.pop())
print(mounts.pop())

Python: import sys

arr = []
for i in sys.stdin:
    arr.append(int(i))

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

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

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

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

Python: rank = sorted([int(input()) for i in range(10)], reverse=True)
print('\n'.join(map(str, rank[:3])) + '\n')

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

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

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

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

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

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])