L,R,M,K=map(int,input().split()) L=L*K%M R=R*K%M if L>=R or L==0: print('Yes') else: print('No')