【字符串】回文串
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
回文串是从左到右或者从右到左读起来都一样的字符串,试编程判别一个字符串是否为回文串。
Input Format
输入一个字符串。串长度<255.
Output Format
判别输入的字符串是否为回文串,是输出"Y",否则输出"N"。
Sample
样例输入
abcba
样例输出
Y