Go: // 九九を出すだけ
package main
import (
	"fmt"
	"os"
	"bufio"
	"strconv"
	"sort"
)

var sc = bufio.NewScanner(os.Stdin)
var out = bufio.NewWriter(os.Stdout)

func main(){
	sc.Split(bufio.ScanWords)
	defer out.Flush()
	mountains := make([]int, 10)
	for i:=0; i<10; i++{
		mountains[i]=nextInt()
	}
	sort.Ints(mountains)
	for _, v := range mountains[7:]{
		fmt.Fprintln(out, v)
	}
}

func next() string{
	sc.Scan()
	return sc.Text()
}

func nextInt() int{
	a, _ := strconv.Atoi(next())
	return a
}

Python: mtlist=[]

while True:
    mtlist.append(input())
    mt
print(list.sort())

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

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

Python: height = [0 for i in range(10)]
sort_height = [0 for i in range(10)]

#set
for i in range(10):
    height[i] = int(input())

#sort
for i in range(10):
    for j in range(10):
        if height[i] >= sort_height[j]:
            #?????????
            for k in range(9, j, -1):
                sort_height[k] = sort_height[k-1] 

            sort_height[j] = height[i]
            break
        
for i in range(3):
    print(sort_height[i])

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

x.sort(reverse=True)

for i in range(0,3):
	print(x[i])

Python: a=list(map(int,input().split()))
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

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

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

Python: import sys

a = []
for i in range(10):
    a.append(int(input()))
#num = [1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922]
a.sort(reverse = True)
print(a[0])
print(a[1])
print(a[2])

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

yama = sorted(yama , reverse = True)

for n in range(3):
    print(yama[n])

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

high=[0,0,0]
for i in range(10):
    if  mt[i] > high[0]:
        high=[mt[i]]+high[:2]
    elif mt[i] > high[1]:
        high=[high[0]]+[mt[1]]+[high[1]]
    elif mt[i] > high[2]:
        high=high[:2]+[mt[i]]
print(high,sep='\n')

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

a.sort()
for i in range(3):
	print(a.pop())

Python: a,b = [],[]

for i in range(10):
    a.append(int(input()))
    
a.sort(reverse=True)

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

Python: import sys

a = []
for line in sys.stdin:
    a.append(int(line))
a.sort()
a.reverse()
print(a[0])
print(a[1])
print(a[2])

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

myList.sort()
myList.reverse()

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

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

if __name__ == '__main__':
    main()

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

Python: num =[0,0,0]

for a in range(10):
    x = int(input().rstrip())
    if x > num[0]:
        num[2] = num[1]
        num[1] = num[0]
        num[0] = x
        continue 
    elif x > num[1]:
        num[2] = num[1]
        num[1] = x
        continue 
    elif x > num[2]:
        num[2] = x
for a in range(3):
    print(num[a])

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

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

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

Python: N = input()
a = []
for i in range(N):
    a.append(input())
for i in range(3):
    m = max(a)
    a.remove(m)
    print (m)

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

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

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

def main():
    list = []
    for i in range(10):
        list.append(int(input()))
    list.sort(lambda num_1, num_2: num_2 - num_1)
    for i in range(3):
        print(list[i])

if __name__ == '__main__':
    main()

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

Python: from sys import stdin
map(print,sorted([int(l) for l in stdin],reverse=True)[0:3])

Python: a=[]
for i in range(10):
    a.append(int(input()))
counter=3
for u in list(reversed(sorted(a))):
    print(u)
    counter-=1
    if counter==0:
        break

Python: spam = [int(input()) for i in range(0, 10)]
spam.sort()
spam.reverse()
for i in range(1, 3):
    print('{}'.format(spam[i]))

Python: import sys

a = []
for line in sys.stdin:
    a.append(int(line))

a.reverse()
print(a[0])
print(a[1])
print(a[2])

Python: f, s, t = 3,2,1
for i in range(10):
    z = int(input())
    if z >= f:
        f,s,t = z, f, s;
    elif z>=s:
        s,t = z,s;
    elif z>=t:
        t = z
print(f);print(s);print(t)

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

Python: 
a=[(1<<29)*-1]*3
for i in range(10):
	h = int(input())
	if h > a[0]:
		a[2]=a[1]
		a[1]=a[0]
		a[0]=h
	elif h > a[1]:
		a[2]=a[1]
		a[1]=h
	elif h > a[2]:
		a[2]=h

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

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

list.sort(m)

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

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

Python: import string

h = input().split()
for i in range(len(h)):
    for j in range(len(h)-1):
        if h[i] < h[j]:
            h[i] = h[j] 
print(h[0])
print(h[1])
print(h[2])

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

Python: #(49)山の高さ
a=[]
for i in range(10):
     a.append(int(input()))
a.sort()
for i in range(3):
     print(a[-1])
     del a[-1]

Python: 
a = []

while True:
    try:
        n = int(input())
        a.append(n)
    except:
        break

print(max(a))
a.remove(max(a))
print(max(a))
a.remove(max(a))
print(max(a))

Python: a=[]
b=a.sort()
c=b.reverse()
print(c[0:2])

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

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

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

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

Python: L=[]
M=[]
for i in range(10):
    n=int(input())
    L.append(n)
for j in range(3):
    b=max(L)
    M.append(b)
    L.remove(b)
print(M[0])
print(M[1])
print(M[2])

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

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