I. Sắp xếp dãy số


Submit solution

Points: 50
Time limit: 1.0s
Memory limit: 256M

Problem type

Nhập một danh sách, in ra danh sách đó theo thứ tự tăng dần và giảm dần

input

6
4 5 9 0 2 1

output

0 1 2 4 5 9
9 5 4 2 1 0

Comments

There are no comments at the moment.