Advertisement
GerONSo

Untitled

Oct 24th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. x = int(input())
  2. y = int(input())
  3. sz = y - x + 1
  4. if((x - 1) % sz == 0):
  5. print('YES')
  6. else:
  7. print('NO')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement