l, r, m, k = map(int, input().split()) mod_l = l % m mod_r = r % m if k == 0: print("Yes") exit() if l == 0: print("Yes") exit() if l != r and mod_l >= mod_r: print("Yes") exit() width = mod_r - mod_l sum_w = 1 + width * k if sum_w >= m: print("Yes") exit() l = (mod_l * k) % m if l + (sum_w - 1) >= m: print("Yes") else: print("No")