import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long H = scan.nextLong(); long W = scan.nextLong(); long N = scan.nextLong(); long K = scan.nextLong(); scan.close(); if(((H % N) * (W % N)) % N == 0) { if(K == N) { System.out.println("YES"); }else { System.out.println("NO"); } }else { System.out.println("NO"); } } }