LearnPy Hub
← Strings problems
Medium

Palindrome Check

A phrase is a palindrome if it reads the same backwards, ignoring spaces and letter case. Print Yes or No.

Input

One line of text.

Output

Yes or No.

Sample 1

Input
Madam
Output
Yes

Sample 2

Input
Python
Output
No
solution.py
Output appears here
Hints
Palindrome Check · Python practice problem · LearnPy Hub