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: max = 0
middle = 0
small = 0
x = 0
for i in range(10):
	x = int(input())
	if max < x :
		middle = max
		max = x
		x = 0
	elif middle < x :
		small = middle
		middle = x
		x = 0
	elif small < x :
		small = x
		x = 0
print(max)
print(middle)
print(small)

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

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

sorted_data = sorted(input_data, reverse = True)

N_PRINT_DATA = 3

[print(sorted_data[i]) for i in range(N_PRINT_DATA)]

Python: mt = []

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

print(str(mt.pop(mt.index(max(mt)))))
print(str(mt.pop(mt.index(max(mt)))))
print(str(mt.pop(mt.index(max(mt)))))

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

if __name__ == '__main__':
    main()

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

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

Python: s=[int(input()) for _ in range(10)]
for i in range(3):
    n=max(s)
    print(n)
    s.remove(n)

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

mountains.sort()
mountains.reverse()

for n in [0,1,2]:
	print(mountains[n])

Python: tate =int(input())
yoko=int(input())
arr = [i+1 for i in range(tate)]
for j in range(yoko):
    rep1,rep2=input().split(",")
    rep1=int(rep1)-1
    rep2=int(rep2)-1
    arr[rep1],arr[rep2] = arr[rep2],arr[rep1]

for k in range(tate):
    print(arr[k])

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

h.sort()
print(h[-1])
print(h[-2])
print(h[-3])

Python: n = list()

for var in range(0,10):
	n.append(int(input()))

n.sort(reverse=True)

for i in n[:3]:
	print(i)

Python: 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())

k=[a, b, c, d, e, f, g, h, i, j]

k.sort(reverse=True)
t=k[:3]

for i in t[0:]:
    print(i)

Python: mt = []
 
for i in range(10):
    mt.append(input())
 
print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))
print(mt.pop(mt.index(max(mt))))

Python: l = [input()]*10
for i in l.sort(reverse=True)[:3]:
    print(i)

Python: list1 = []
for i in range(1, 11):
    list1.append(input())


for x in range(1, 11):
    for y in range(0, 9):
        if int(list1[y]) < int(list1[y+1]):
            temp = list1[y]
            list1[y] = list1[y+1]
            list1[y+1] = temp

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

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

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

Python: import string

list = [int(x) for x in input().split()]
list.sort(reverse=True)
for i in range(3):
    print(list[i])

Python: first = 0
second = 0
third = 0
for i in range(10):
    height = int(input())
    if first <= height:
        third = second
        second = first
        first = height
    elif second <= height:
        third = second
        second = height
    elif third <= height:
        third = height
print(first)
print(second)
print(third)

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

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

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

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


if __name__ == '__main__':
    main()

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: x=[]
for i in range(10):
    
    n=int(input())
    x.append(n)
x1=sorted(x,reverse=True)

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

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

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

Python: #coding:utf-8

l = []
for i in xrange(10):
    a = input()
    l.append(a)

for n in xrange(3):
    print(max(l))
    l.remove(max(l))

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

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

for i in range(0,10):
    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: # coding: utf-8
# Here your code !
import sys
line = sys.stdin.readlines()
top = [0,0,0]
for i in range(len(line)):
    line[i] = int(line[i].rstrip("\n"))
    if top[0] < line[i]:
        top[2] = top[1]
        top[1] = top[0]
        top[0] = line[i]
    elif top[1] < line[i]:
        top[2] = top[1]
        top[1] = line[i]
    elif top[2] < line[i]:
        top[2] = line[i]

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

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

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

print(l[9])
print(l[8])
print(l[7])

Python: import sys
a = []
s = sys.stdin.readline()
while s :
	a.append(int(s))
	s = sys.stdin.readline()

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

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

Python: 1819
2003
876
2840
1723
1673
3776
2848
1592
922

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: i=1
H=[]
while i<=10:
    h=int(input())
    H.append(h)
    i+=1
H.sort(reverse=True)
for i in range(3):
    print(f'{H[i]}')

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

mountains_high_copy=mountains_high.copy()
for i in range(9):
    for j in range(9):
        if mountains_high_copy[j]>mountains_high_copy[j+1]:
            num=mountains_high_copy[j]
            mountains_high_copy[j]=mountains_high_copy[j+1]
            mountains_high_copy[j+1]=num

for i in range(3):
    print(mountains_high_copy[9-i])

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

Python: # Compatible with Python3
# -*- coding: utf-8 -*-
[print(i) for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3]]

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

Python: a = []
for i in range(10):
    list = [int(input())]
    a += list
    srt = sorted(a)

x = srt[:6:-1]
for k in x:
    print(k)