100 #1348. 回文拼接

回文拼接

题面描述

输入输出

输入格式

输出格式

样例

4
abcd
aabbb
aaac
abcdd
No
Yes
No
No