We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward.
Given a string , print Yes
if it is a palindrome, print No
otherwise.
Constraints
- will consist at most lower case english letters.
Sample Input
madam
Sample Output
Yes