def main(): H = tuple(int(input()) for _ in [0] * 3) for i in sorted(H): print(i) main()