Amazon interview question

Write a program which picks the first 2 highest numbers in a sequence?