Đảo ngược số


Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 1G

Problem type

Cho số nguyên $N$. In ra số $N$ theo thứ tự ngược lại.

Lưu ý: Không in số 0 ở đầu.

Dữ liệu

  • Dòng duy nhất chứa số nguyên dương $N \ (1\le N \le 10^{18})$.

Kết quả

  • Kết quả bài toán.

Ví dụ

Ví dụ 1

input

634

output

436
Ví dụ 2

input

12300

output

321

Comments

There are no comments at the moment.