m_h=[int(input()) for i in range(10)]

m_h.sort(reverse=True)

print(m_h[0])
print(m_h[1])
print(m_h[2]) int(input()) for i in range(10) for i in range(10) i range(10) range 10 for i in range(10) int(input()) int input() input m_h=[int(input()) for i in range(10)] m_h [int(input()) for i in range(10)] m_h.sort(reverse=True) m_h.sort m_h sort reverse=True reverse True print(m_h[0]) print m_h[0] m_h 0 print(m_h[1]) print m_h[1] m_h 1 print(m_h[2]) print m_h[2] m_h 2 m_h=[int(input()) for i in range(10)] [int(input()) for i in range(10)] m_h
m_h=[int(input()) for i in range(10)]

m_h.sort(reverse=True)

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