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) { 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 System.out.println("NO"); ucet = sc.nextInt(); splat = sc.nextInt(); let = sc.nextInt(); urok = sc.nextDouble(); } } }