# -*- coding:utf-8 -*- if __name__ == '__main__': h, w, n, k = map(int, input().split()) print("YES" if (h * w) % n == k % n else "NO")