4320 - STL 栈 :翻转字符串

输入olleh !dlrow

输出hello world!

Input

有n行字符串

Output

输出n行字符串,都是翻转好的字符串

Examples

Input

olleh !dlrow

Output

hello world!

Input

abcd hjk
efgh

Output

dcba kjh
hgfe
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题