#P41. [KBC003A] String 3
[KBC003A] String 3
Source
This problem is adapted from Long Long OJ. All rights reserved.
Problem Description
Given a string , determine whether it is a Jini string (Chicken You string).
Definition of Jini string: Punctuation marks are ignored automatically; you only need to check if the letters read forward are the same as those read backward.
Input Format
A single line containing a string .
Output Format
A single line containing the string or .
Samples
jntm,ohh,bb,hh,o,mt,nj
Yes
cxkwsxhz,zhxswkk
No
Data Range
, and only contains lowercase letters or commas.