Chuỗi đảo ngược

View as PDF

Submit solution

Points: 0.01
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Cho một chuỗi kí tự ~s~, hãy in ra chuỗi đảo ngược của nó.

Input

Một dòng duy nhất là chuỗi ~s~ (gồm các kí tự chữ cái Latin và kí tự chữ số), độ dài chuỗi không vượt quá ~2 \times 10^5~ kí tự.

Output

Một dòng duy nhất là chuỗi đảo ngược của ~s~.

Sample Input
abc
Sample Output
cba

Comments

Please read the guidelines before commenting.


There are no comments at the moment.