9135 - 字符串互换并连接

编写程序,将一个字符串首尾互换,并与原字符串连接后输出,输出字符串(不包含空格),输出处理后的结果。

Input

输入为一行字符串

Output

输出为一行,包含连接在一起的两部分(输入的字符串和首尾互换位置之后的字符串)

Examples

Input

china

Output

chinaahinc
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题