#T543. 判断字符串是否回文
判断字符串是否回文
Description
Enter a string and determine whether it is a palindrome. A palindrome is a string that reads the same forwards and backwards.
Input Format
Input is a single line of string (the string contains no whitespace characters, and its length does not exceed 100).
Output Format
If the string is a palindrome, output yes; otherwise, output no.
abcdedcba
yes
abcdcbd
no
Source
CodesOnline