Олимпиадный тренинг

Задача 38208. Apartments


The house has several entrances. Each block has the same number of apartments. Apartments are numbered consecutively, starting from one. Can the first apartment in some entrance have the number x, and the last – number y?

Input
Enter two natural numbers x and y (x ≤ y) not exceeding 10,000.

Imprint
Print the word YES (in capital Latin letters) if it is possible, and NO otherwise.

Examples
# Input Output
1 11 15 YES
2 2 10 NO