P26146 [AtCoder] [ARC031A] Name
入门
题目描述

Problem Description

In a game run by Takahashi, making names palindromic has become popular. Given a string representing a name, determine whether it is a palindrome. A palindrome is a string that reads the same forward and backward.

Input Format

The input is given from the standard input in the following format:

$ Name $

  • The first line contains a string $ Name $ representing the name.
  • The length of $ Name $ is guaranteed to be at most 100 characters, and all characters are lowercase alphabets.

Output Format

Output YES if the name is a palindrome, and NO if it is not. Ensure to include a newline at the end of the output.

Sample Input and Output

Sample Input #1

awawa

Sample Output #1

YES

Sample Input #2

chokudai

Sample Output #2

NO

Notes/Hints

None

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
awawa
样例输出
YES