Problem Description

A string s (only letters and digits) is provided. Output YES if it is palindrome else NO.

Input Format

One line s.

Output Format

YES or NO.

Sample Test Case

Input:
madam
Output:
YES

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next