Go: package main

import(
	"fmt"
	"sort"
)

func main() {
	var a int
	var i int
	dataint := [10]int{}
	i = 0
	for _, err := fmt.Scan(&a); err == nil; _, err = fmt.Scan(&a) {
		dataint[i] = a
		i++
	}
	sort.Ints(dataint[:])
	for i:=9; i>6; i--{
		fmt.Println(dataint[i])
	}
}

Python: import sys
e = sys.stdin.readlines()
e = [int(i) for i in e]
for i in range(3):
    m = max(e)
    e.remove(m)
    print (m)

Python: # coding: utf-8
N = 10
h = []
for n in range(N):
    h.append(int(input()))

h = sorted(h, reverse = True)

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

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

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

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

Python: import sys
heights = [int(i) for i in sys.stdin.read().split()]
heights.sort(reverse=True)
print("\n".join(map(str, heights[:3])))

Python: mountain_height = []

for i in range(10):
    new_data = int(input())
    mountain_height.append(new_data)

mountain_height.sort()
mountain_height.reverse()

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

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

Python: a=0
b=0
c=0

for i in range(10):
    x = int(input())
    if x > c:
        a = b
        b = c
        c = x

    elif x > b:
        a = b
        b = x
        
    elif x > a:
        a = x

print(c)
print(b)
print(a)

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

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

Python: # coding: utf-8

j = [0,0,0,0,0,0,0,0,0,0]

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

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

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

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

first = 0
second = 0
third = 0

for line in open(sys.argv[1],"r"):
    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: lst = []
for i in range(10):
  lst.append(int(input()))
lst.sort()
print(lst[9])
print(lst[8])
print(lst[7])

Python: import numpy as np

heights = np.ndarray(10, dtype=int)
first = 0
second = 0
third = 0

for i in range(10):
    N = int(input())
    if(third < N):
        if(second < N):
            if(first < N):
                third = second
                second = first
                first = N
            else:
                third = second
                second = N
        else:
            third = N
    
print(first)
print(second)
print(third)

Python: a = []
for x in range(10):
        a += [int(input())]
for x in range(3):
        print(max(a))
        a.remove(max(a))

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

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

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

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

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

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

Python: hs=[list(map(int, input().split())) for _ in range(10)]
h=sorted(hs,reverse=True)[:3]
print(h[0])
print(h[1])
print(h[2])

Python: mt = []

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

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

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

first = 0
second = 0
third = 0
i = 0

for i in range(1,10):
    line = sys.argv[i]
    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: alllist = []
for _ in range(10):
    alllist.append(int(input()))

for x in sorted(alllist, reverse=True)[0:3]:
    print(x)

Python: import sys

array=[]
for i in sys.stdin.readlines():
    array.append(int(input()))
array.sort()
num = len(array)
for i in range(num-1,num-4,-1):
    print(array[i])

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

Python: # coding: utf-8

def getint():
    return int(input().rstrip())

def main():
    ls = []
    num_of_mount = 10
    num_of_top = 3
    
    for i in range(num_of_mount):
        ls.append(getint())

    ls.sort(reverse=True)

    for i in range(num_of_top):
        print(ls[i])

if __name__ == '__main__':
    main()

Python: a=[int(input()) for i in range(10)]
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Python: # usr/bin/python
# coding: utf-8
################################################################################
# List of Top 3 Hills
#There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
#
#Write a program which prints heights of the top three mountains in descending order.
#
################################################################################

if __name__ == "__main__":
    hight_of_mount  = [0]*10
    for i in range(0, 10):
        hight_of_mount[i]  = int(input())

    hight_of_mount.sort(reverse=True)

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

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

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

Python: from collections import deque

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

Meter_new = deque(sorted(Meter, reverse=True))

for i in range(3):
    print(Meter_new.popleft())

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

Python: hills = [input() for _ in range(10)]
hills = list(map(int, hills))
hills.sort

for i in range(3):
    print(hills.pop())

Python: import sys
a = list(map(int,sys.stdin.readlines()))
for i in range(10):
    for j in range(i+1,10):
        if a[i] < a[j]:
            a[i],a[j] = a[j],a[i]
            
for i in range(3):
    print(a[i])

Python: lists = []
for x in range (0, 10):
    num = int(input())
    lists.append(num)
    
results = sorted(lists, reverse = True)

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

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

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

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

li=[]

for i in range(10):
    li.append(int(input()))
li=sorted(li)

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

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

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

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

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