Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Is Palindrome

Limits 1s, 512 MB

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

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

Input

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

$S$ will contain lowercase alphabets only.

Output

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

Samples

InputOutput
racecar
Yes
InputOutput
carrot
No

Discussion

Statistics


92% Solution Ratio

raselrokyEarliest, Nov '18

crevious509Fastest, 0.0s

CCS_RUSHIKONLightest, 0 B

saitotaShortest, 31B

Submit

Login to submit