Sort three numbers in descending order

Xem dạng PDF

Gửi bài giải

Điểm: 1,00 (OI)
Giới hạn thời gian: 1.0s
Giới hạn bộ nhớ: 256M
Input: stdin
Output: stdout

Nguồn bài:
Châu Nhật Tăng
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch

Write a program that takes three integers ~a~, ~b~, and ~c~ as input, where the absolute values of these integers do not exceed ~10^{18}~. Print these three numbers in descending order.

Input

  • Three integers ~a~, ~b~, ~c~ on ~3~ lines.

Output

  • Print the three numbers ~a~, ~b~, ~c~ in descending order separated by lines.

Sample Input

1
5
3

Sample Output

5
3
1

Bình luận

Hãy đọc nội quy trước khi bình luận.


Không có bình luận tại thời điểm này.