Go: package main

import (
	"fmt"
	"sort"
)

func main() {
	mountains := make([]int, 10, 10)

	for i := 0; i < 10; i++ {
		fmt.Scan(&mountains[i])
	}

	sort.Sort(sort.Reverse(sort.IntSlice(mountains)))

	for i := 0; i < 3; i++ {
		fmt.Println(mountains[i])
	}
}

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

#print(a)

#print("")
a.sort(reverse=True)

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

Python: #!/usr/bin/env python3

import collections
import sys

def read_prob():
    inputs = []
    try:
        while True:
            line = input().strip()
            inputs.append(int(line))
    except EOFError:
        pass
    return inputs

if __name__ == '__main__':
    inputs = read_prob()
    so = sorted(inputs)
    so.reverse()
    for i in range(3):
        print(so[i])

Python: inp = [int(input()) for i in range(10)]
m1, m2, m3 = 0, 0, 0
for h in inp:
    if(h > m1):
        m3 = m2
        m2 = m1
        m1 = h
    elif(h > m2):
        m3 = m2
        m2 = h
    elif(h > m3):
        m3 = h
print(m1)
print(m2)
print(m3)

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

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

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):
  a.append(int(input()))
b=sorted(a,reverse=True)
print(b[0])
print(b[1])
print(b[2])

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

Python: height =[]
inp = ""
while True:
    inp = input()
    if inp == "":break
    else: height.append(int(inp))

height.sort(reverse=True)
for j in range(0,3):
    print(str(height[j]))

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

sorted_mountains = sorted(mountains, reverse=True)
for i in range(0, 3):
    print(sorted_mountains[i])

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

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

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

Python: #! /usr/bin/python3

m=[int(input()) for i in range(10)]
m.sort()
m.reverse()
print("{0}\n{1}\n{2}".format(m[0], m[1], m[2]))

Python: import sys
heights = []
for i in range(10):
    line = sys.stdin.readline()
    height = int(line)
    heights.append(height)
heights.sort()
heights.reverse()
for i in range(3):
    print (heights[i])

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)
    print(sorted_mounts[0])
    print(sorted_mounts[1])
    print(sorted_mounts[2])
    

__main()

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

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)
y=0
for i in a:
  if y==3:
    break
  if i>=0 and i<=10000:
    print(i)
    y=y+1

Python: height = [int(input()) for _ in range(10)]
height = list(reversed(sorted(height)))

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

Python: mountains = []

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

mountains.sort(reverse=True)

for m in mountains[0:3]:
    print(m)

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

Python: H = []
while True:
	try:
		H.append(input())
	except EOFError:
		break
H.sort()
print(H[-1])
print(H[-2])
print(H[-3])

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

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

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

import sys

data = []
count = 0
for i in sys.stdin:
    data.append(int(i))
    count = count+1
    if count == 10:
        break

N = len(data)
m = 100

for i in range(m):
    for n in range(N-1):
        a = data[n]
        b = data[n+1]
        if a <= b:
            data[n] = b
            data[n+1] = a
        else:
            pass
for i in range(3):
    print(data[i])

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

Python: def main():
    mountain=[]
    for i in range(10):
        num=int(input())
        mountain.append(num)
    mountain=sorted(mountain)
    mountain=mountain[::-1]
    for i in range(3):
        print(mountain[i])

if __name__=='__main__':
    main()

Python: list = [int(input()) for i in range(10)]
s=0
t=0
u=0
for i in range(10):
    if s<list[i]:
        u=t
        t=s
        s=list[i]
    elif t<list[i]:
        u=t
        t=list[i]
    elif u<list[i]:
        u=list[i]
print(s)
print(t)
print(u)

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

Python: import sys

def solve():
    a = [int(input()) for i in range(10)]
    a.sort(reverse=True)
    print(*a[:3], sep='\n')
    
if __name__ == '__main__':
    solve()

Python: mountains = sorted([int(input()) for i in range(10)])
for i in range(3):
    print(mountains[9 - i])

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

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

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

Python: l = []
while True:
    try:
        x = int(input())
        l.append(x)
    except Exception:
        break
l.sort(reverse=True)
print("\n".join([str(l[0]),str(l[1]),str(l[2])]))

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

Python: # AOJ 0001 List of Top 3 Hills
# Python3 2018.6.7 bal4u

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

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

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

Python: mountains = []
for x in range(10):
    mountains.append(int(raw_input()))
mountains.sort()
print(mountains[-1])
print(mountains[-2])
print(mountains[-3])

Python: l = []

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

l.sort(reverse=True)

for ll in l[:3]:
    print(ll)

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

Python: a = int(input() )
b = int(input() )
c = int(input() )
if b > a:
  tmp = a
  a = b
  b = tmp
if c > b:
  tmp = c
  c = b
  b = tmp
if b > a:
  tmp = b
  b = a
  a = tmp
for x in range(7):
  d = int(input() )
  if d > a:
    c = b
    b = a
    a = d
  elif d > b:
    c = b
    b = d
  elif d > c:
    c = d
print(a)
print(b)
print(c)