import java.util.Scanner; class Main { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); long h = in.nextLong(); long w = in.nextLong(); long n = in.nextLong(); long k = in.nextLong(); if((h*w) % n == k % n) { System.out.println("YES"); } else { System.out.println("NO"); } } }