#1559. [JSOI2009] 密码

[JSOI2009] 密码

题目描述

输入格式

输出格式

10 2
hello
world

2
helloworld
worldhello

提示

题目来源

JSOI2009Day1