Type: Default 1000ms 256MiB

回文串

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

“xyzyx”是一个回文字符串,所谓回文字符串就是指正读反读均相同的字符序列,如“席主席”、“记书记”、“ioi”和“ioioi”均是回文,但“ioio”不是回文。输入一行字符(仅包含小写英文字母a~z)请判断这行字符串是否为回文。

Format

Input

只有一行,仅包含小写英文字母 a ~ z 的字符串,长度小于等于 100

Output

只有一行,如果是回文请输出 YES,不是回文则输出NO,请注意大小写。

Samples

oioi
NO
ioioi
YES

Limitation

1s, 64Mb for each test case.

A班第三天测试

Not Attended
Status
Done
Rule
Ledo
Problem
9
Start at
2025-7-23 19:00
End at
2025-7-23 21:00
Duration
2 hour(s)
Host
Partic.
10