import java.util.*; public class mortgage { public static void main(String[] args) { mortgage t = new mortgage(); t.test(); } public void test() { Scanner sc = new Scanner(System.in); sc.useLocale(java.util.Locale.US); int ucet = sc.nextInt(); int splat = sc.nextInt(); int let = sc.nextInt(); double urok = sc.nextDouble(); urok = urok/100; lab:while(ucet!=0||splat!=0||let!=0) { double ducet = (double)ucet; double zaplat = splat*(1-Math.pow((1-urok/12),let*12))/(1-(1-urok/12)); //System.out.println(zaplat-ducet); if(zaplat>=ducet)System.out.println("YES"); else // ducet = ducet*Math.pow((1+urok/12),let*12); /* for(int i = let*12; i>=0; i--) { double min = ducet; ducet *= (1+urok/12); ducet -= splat; if(min < ducet) { System.out.println("NO"); ucet = sc.nextInt(); splat = sc.nextInt(); let = sc.nextInt(); urok = sc.nextDouble(); continue lab; } //System.out.println(d); // System.out.println("YES"+ducet+" urok:"+splat*Math.pow((1+urok/12),i); if(ducet < 0) { System.out.println("YES"); ucet = sc.nextInt(); splat = sc.nextInt(); let = sc.nextInt(); urok = sc.nextDouble(); continue lab; } } */ System.out.println("NO"); ucet = sc.nextInt(); splat = sc.nextInt(); let = sc.nextInt(); urok = sc.nextDouble(); } } }