l,r,m,k=map(int,input().split()) if k==0: print('Yes') exit() for i in range(l,r+1): if i %m==0: print('Yes') exit() print('No')