Java String Reverse ⬀
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward.
Given a string A, print Yes if it is a palindrome, print No otherwise.
Awill consist at most50lower case english letters.
madam
Yes