cp/codeforces/964/d.in

13 lines
65 B
Text

6
a?b?c?d??
xxx
?????
xbx
ab??e
abcde
ayy?x
a
ab??e
dac
paiu
mom