Palindromic String

0

0 votes
Very-Easy, とてもやさしい
Problem

You have been given a String S S. You need to find and print whether this string is a palindrome or not. If yes, print "YES" (without quotes), else print "NO" (without quotes).

Input Format The first and only line of input contains the String S S. The String shall consist of lowercase English alphabets only.

Output Format Print the required answer on a single line.

Constraints 1 ≤ | S | ≤ 100 1≤|S|≤100

Note String S S consists of lowercase English Alphabets only.

Sample Input
aba
Sample Output
YES
Time Limit: 5
Memory Limit: 256
Source Limit:
Contributers:
Editor Image

?