# Compatible with Python3
# -*- coding: utf-8 -*-
[print(i) for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3]] print(i) for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3] for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3] i sorted([input() for j in range(10)], key=int, reverse=True)[:3] ([input() for j in range(10)], key=int, reverse=True) sorted [input() for j in range(10)] key=int key int reverse=True reverse True :3 3 for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3] print(i) print i [print(i) for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3]]
# Compatible with Python3
# -*- coding: utf-8 -*-
[print(i) for i in sorted([input() for j in range(10)], key=int, reverse=True)[:3]]