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