cf/mirror

Palindrome

CF
1952H3s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
8
ac
tle
radar
racecar
php
atcoder
codeforces
steam
Output
NO
NO
YES
YES
NO
NO
YES
YES
Sample 2of 2
Input
2
a
z
Output
NO
YES
1952H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)