ary = []
for i in 0..9
    high = rand(10000)
    ary[i] = high
end

for i in 0..8
    for j in 0..8
        if ary[j] < ary[j+1]
            num = ary[j]
            ary[j] = ary[j+1]
            ary[j+1] = num
        end
    end
end

for i in 0..2
    p ary[i]
end