H, W, N, K = map(int,input().split()) print(['NO', 'YES'][(H+W-2) % N == K-1])