1559 - [JSOI2009]密码

Input

Output

Examples

Input

10 2
hello
world

Output

2
helloworld
worldhello
时间限制 1 秒
内存限制 128 MB
统计
上一题 下一题