Given a two-digit number. Display the word
YES
if the digits of this number are the same and the word
NO
if the digits are different.
Input
One number is entered from the keyboard.
Imprint
Display the word
YES
if the digits of the given number are the same, or the word
NO
if the digits are different.
Examples
# |
Input |
Output |
1 |
65 |
NO |
2 |
55 |
YES |