All Problems
easyStrings
Palindrome Check
Problem Statement
Check if a given string is a palindrome. Print "Yes" or "No".
SAMPLE INPUT
madam
SAMPLE OUTPUT
Yes
CONSTRAINTS
- 1 <= len(s) <= 1000
- String contains only lowercase letters
Explanation: Compare the string with its reverse.