Given a three digit number. Print the word
YES if all digits of the number are different and the word NO otherwise.
Input
The input is a positive three-digit number.
Imprint
Display the answer to the problem.
Examples
| # |
Input |
Output |
| 1 |
123 |
YES |
| 2 |
112 |
NO |