P11732 [AOJ] Decoding Ancient Messages
普及
题目描述

Example

Input

3
aab
czc
baa

Output

aac

输入格式

见题面

输出格式

见题面

样例输入
3 aab czc baa
样例输出
aac