You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a string as input, determine if it is a palindrome or not. (Ignore the spaces, case and any punctuation or special characters present in the string).
Note: A palindromes is a string which has characters in the same order when read forward or backwards.
Input Format
First line of the input contains a string
Output Format
Print 'Yes' if the given string is a palindrome, 'No' otherwise.