Go: package main

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

func getsAsIntArray() (line []int) {
	scanner := bufio.NewScanner(os.Stdin)

	for scanner.Scan() {
		str := scanner.Text()
		if str == "" {
			break
		}
		data, err := strconv.Atoi(str)
		if err != nil {
			break
		}
		line = append(line, data)
	}

	return
}

func main() {

	lines := getsAsIntArray()
	sort.Sort(sort.Reverse(sort.IntSlice(lines)))
	for i, v := range lines {
		if i < 3 {
			fmt.Println(v)
		}
	}
}

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(f'{a[-1]}\n{a[-2]}\n{a[-3]}')

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

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

Python: mount = []
for i in range(10):
    n = int(input())
    mount.append(n)
s = sorted(mount)[::-1]
for i in range(3):
    print(s[i])

Python: T=10
li = []
while T>0:
    H = int(input())
    li.append(H)
    T -= 1
li.sort()
H = len(li)
print(li[H-1])
print(li[H-2])
print(li[H-3])

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

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

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

Python: def main():

    mountains_list = [int(input()) for n in range(10)]
    print(list(reversed(sorted(mountains_list)))[:3])
    
main()

Python: map(print,[int(n) for n in stdin].sort(reverse=True)[0:3])

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: mtheight = []

for i in xrange(0,10):
    mtheight.append(raw_input())

mtheight.sort()
mtheight.reverse()

for i in xrange(0,2):
    print(mtheight[i])

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

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

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

Python: # coding: utf-8

mountains = []
for i in range(10):
    mountains.append(int(input()))
    
outputCount = 3    
for height in list(reversed(sorted(mountains))):
    print(height)
    outputCount -= 1
    if outputCount == 0:
        break

Python: def run():
    n = []
    for _ in range(10):
        n.append(int(input()))
    n = sorted(n, reverse=True)
    print('\n'.join([str(_n) for _n in n[:3]]))

if __name__ == '__main__':
    run()

Python: import sys
m = [int(l) for l in sys.stdin]
m.sort()
print(m[-1])
print(m[-2])
print(m[-3])

Python: h = [input() for _ in xrange(10)].sort()
h[0:3]

Python: i = 0
input_null = 0
input_list = []

n = 10 #input個数
while i < n:
    input_list.append(int(input()))
    #print(input_list[i])
    i += 1
    
sort_input_list = sorted(input_list,reverse=True)

j = 0

while j < 3:
    print(sort_input_list[j])
    j += 1

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

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

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

Python: from sys import argv, stdin, stderr, stdout

heights = []
for i in range(0, 10):
	heights.append(int(stdin.readline()))
heights.sort(reverse=True)
for i in range(0, 3):
	stdout.write("%d\n" % heights[i])

Python: if __name__ == '__main__':
    hight = int(input()).split()
    print(sorted(num, reverse=True)[0])
    print(sorted(num, reverse=True)[1])
    print(sorted(num, reverse=True)[2])

Python: def __main():

    mountains = []
    numOfMoun = 10
 
    for c in range(numOfMoun):
        mountains.insert(c,int(input('Height of the mountain ')))
        
    sorted_mounts = sorted(mountains,reverse=True)
    for k in range(3):
        print(sorted_mounts[k])
    

__main()

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

Python: 

import sys
a=[]
for i in sys.stdin:
    a.append(int(i))
    
x=sorted(a,reverse=True)
print(x[0])
print(x[1])
print(x[2])

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

Python: def minput():
    try:
        while True:
            data=raw_input()
            if not data: break
            yield data
    except KeyboardInterrupt:
        return
sorted(list(minput()),reverse=True)[:3]

Python: # Python 3+
#-------------------------------------------------------------------------------
import sys

#ff = open("test.txt", "r")
ff = sys.stdin

arr = [ int(x) for x in ff.readlines() ]

arr.sort(reverse=True)

for x in arr[0:3] : print(x)

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

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: 
list = []
for i in range(10):
    hill = int(input())
    list.append(hill)

sorted(list)
h1 = a[9]
h2 = a[8]
h3 = a[7]

print(h1)
print(h2)
print(h3)

Python: l = []

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

l.sort()

for i in range(3):
    print(l[-1 * (i+1)])

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

def main():
	mountains = []
	for i in range(3):
		mountains.append(int(input()))
	
	mountains = sorted(mountains, reverse = True)

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


if __name__ == '__main__':
    main()

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

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

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

import sys

def top_k_sort(data, k=3, reverse=True):
    data.sort(reverse=True)
    return data[:k]

def main():
    argv = sys.argv
    argc = len(argv)

    data = [int(v) for v in argv[1:]]
    for h in top_k_sort(data):
        print(h)

if __name__ == '__main__':
    main()

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

Python: Array = []

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

Anum = len(Array)
for i in range(Anum-1,Anum-4,-1):
    print(Array[i])

Python: lis=[];

for i in range(10):
    h=int(input());
    lis.append(h);
    
for i in range(10):
    for j in range(i+1,10):
        if lis[i]<lis[j]:
            a=lis[i];
            lis[i]=lis[j];
            lis[j]=a;
            
for i in range(3):
    print(lis[i]);

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

a.sort()

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

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

import sys

def top_k_sort(data, k=3, reverse=True):
    data.sort(reverse=True)
    return data[:k]

def main():
    data = []
    for line in sys.stdin:
        data.append(int(line))

    data = [int(v) for v in argv[1:]]
    for h in top_k_sort(data):
        print(h)

if __name__ == '__main__':
    main()

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

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

Python: array=[int(input()) for i in range(10)]
array.sort()
num = len(array)
for i in range(num-1,num-4,-1):
    print(array[i])