[JSOI2009]密码

时间限制:5s    【提交】    空间限制:64MB

题目描述


输入格式


输出格式


样例输入

10 2
hello
world

样例输出

2
helloworld
worldhello

提示


题目来源

JSOI2009Day1