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


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

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

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

Python: import numpy as np

heights = np.ndarray(10, dtype=int)

for i in range(10):
    N = input()
    heights[i] = N
    
sort_heights = np.sort(heights)[::-1]
print(sort_heights[0])
print(sort_heights[1])
print(sort_heights[2])

Python: from sys import stdin

ns = []
for n in stdin:
  ns.append(n)
ns.sort(reverse = True)
for i in range(3):
  print(ns[i])

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

lst.sort(reverse=True)
lst1=lst[0:3]
lst2=lst[1]
print(max(lst1))
print(lst2)
print(min(lst1))

Python: print(*sorted([int(input()) for _ in range(10)], reverse=True)[0:3], sep='\n')

Python: mmax1 = 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: #!/usr/bin/env python3
hight = []
for i in range(10):
    hight.append(int(input()))
hight = sorted(hight, reverse=True)

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

Python: a=[]
for i in range(0,10):
    n=int(input())
    a.appnd(n)
a.sort()
for j in range(0,3):
    print(a[j])

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

Python: import sys
heights = sorted([ int(h) for h in sys.stdin],reverce)
heights[0]
heights[1]
heights[2]

Python: if __name__=="__main__":
    dataset = []
    for i in range(10):
        a = int(input())
        dataset.append(a)
    for j in range(3):
        print(max(dataset))
        dataset.remove(max(dataset))

Python: N = int(input())

a = []
for i in range(N):
    a.append(input())

a.sort()

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

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

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

Python: #49 山の高さ

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

S.sort(reverse = True)

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

Python: mountains = []

for i in range(10):
    m = int(input())
    mountains.append(m)

mountains.sort()

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

Python: mnt=[]

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

print(f'{mnt[9]}\n{mnt[8]}\n{mnt[7]}')

Python: max1=0; max2=0; max3=0
for i in range(10):
    x=int(input())
    if max1<x:
        max3=max2
        max2=max1
        max1=x
    elif max2<x:
        max3=max2
        max2=x
    elif max3<x:
        max3=x
print(max1)
print(max2)
print(max3)

Python: import string
import sys

#??????????????\????????????ip?????\??????
ip = sys.stdin.readlines()
for i in range(len(ip)):
    ip[i] = int(ip[i].strip("\n"))

#??????3??????????????????
h = [0]*3

#?????????????????????
for i in range(len(ip)):
    for j in range(len(ip)):
        if ip[i] > ip[j]:
            tmp = ip[i]
            ip[i] = ip[j] 
            ip[j] = tmp            

for i in range(3):
    if h != 0:
        print(ip[i])

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

Python: N=10
A=[]
for i in range(N):
    A.append(int(input()))
sorted(A)
for i in range(3):
    print(a[i])

Python: # your code goes here
import sys

a=[]
for line in sys.stdin:
  line.rstrip('rn')
  tmp=line.split(" ")
  a.append(int(tmp[-1]))

a.sort(reverse=True)
for i in a:
	
  if i>=0 and i<=10000:
    print(i)

Python: print("Hello,world!")

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

exit()

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

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

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

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

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

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

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

for n in range(3):
    s=max(a)
    b.append(s)
    print(s)
    a.remove(s)

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

Python: height = [ 1819,2003,876,2840,1723,1673,3776,2848,1592,922 ]

top = height[0]

for x in height :
    if top < x:
       top = x 

height.remove(top);

second = height[0]
for x in height :
    if second < x:
       second= x 

height.remove(second);

third = height[0]
for x in height :
    if third < x:
       third = x 

print(top)
print(second)
print(third)

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

a.sort()

for i in range(1, 4):
    print(a[-i])

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

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

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

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

def main():
    List=[]
    while(True):
        a=input()
        if a=="":
            break
        else:
            List.append(a)

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

Python: i = 0
x = []
for i in range(10):
    mount = int(input())
    x.append(mount)
sorted_x = sorted(x)
print(sorted_x[-1])
print(sorted_x[-2])
print(sorted_x[-3])

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

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

Python: import sys

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

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

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: n = 0
list = []
while n < 10:
    x = input()
    list.append(x)
    n += 1

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