➽ Problem:-

https://www.hackerrank.com/challenges/kangaroo/problem

➽ Solution:-

import math

import os

import random

import re

import sys

 

x1, v1, x2, v2 = map(int, input().strip().split(' '))

if((v1>v2) and (x2-x1) % (v1-v2) == 0):

    print("YES")

else:

    print("NO")