Is Palindrome

First Step Contest
Limits 1s, 512 MB

Given a word, print Yes\texttt{Yes} if it is a palindrome, otherwise No\texttt{No}.

A palindrome is a word which reads the same backward as forward, e.g. racecar.

Input

The input will contain a string SS (0<Length of S<1000 < \texttt{Length of S} < 100).

SS will contain lowercase alphabets only.

Output

Print Yes\texttt{Yes} or No\texttt{No}.

Samples

InputOutput
racecar
Yes
InputOutput
carrot
No

Submit

Login to submit.

Statistics

93% Solution Ratio
raselrokyEarliest, Nov '18
crevious509Fastest, 0.0s
CCS_RUSHIKONLightest, 0 B
saitotaShortest, 31B
Toph uses cookies. By continuing you agree to our Cookie Policy.