#マス埋めゲーム H , W , N , K = map(int , input().split()) if (H * W) % N == K or ((H * W) % N == 0 and N == K): print("YES") else: print("NO")