h = list()
for i in range(10): h.append(int(input()))
h.sort()
for i in range(-1,-4,-1): print h[i] h = list() h list() list for i in range(10): h.append(int(input())) i range(10) range 10 h.sort() h.sort h sort for i in range(-1,-4,-1): print i range(-1,-4,-1) range -1 -4 -1 h[i] h i h = list() list() h
h = list()
for i in range(10): h.append(int(input()))
h.sort()
for i in range(-1,-4,-1): print h[i]