PP1 Week 2 Contest 2
Four-digit number is given. Determine is it a palindrome. A positive integer is a palindrome if it is read the same from left to right and from right to left. For example the number 2332 is palindrome.
Onr four-digit number n.
Print "YES", if the number n is a palindrome, and "NO" otherwise.