public static void main ( String [ ] args ) {
  int n = SCANNER . nextInt ( ) ;
  int t = SCANNER . nextInt ( ) ;
  int k = SCANNER . nextInt ( ) ;
  int d = SCANNER . nextInt ( ) ;
  int g = ( n + k - 1 ) / k ;
  int o1 = 0 , o2 = d ;
  for ( int i = 0 ;
  i < g ;
  i ++ ) {
    if ( o1 <= o2 ) o1 += t ;
    else o2 += t ;
  }
  System . out . println ( Math . max ( o1 , o2 ) < g * t ? "YES" : "NO" ) ;
}

public static void main ( String [ ] args ) { int n = SCANNER . nextInt ( ) ; int t = SCANNER . nextInt ( ) ; int k = SCANNER . nextInt ( ) ; int d = SCANNER . nextInt ( ) ; int g = ( n + k - 1 ) / k ; int o1 = 0 , o2 = d ; for ( int i = 0 ; i < g ; i ++ ) { if ( o1 <= o2 ) o1 += t ; else o2 += t ; } System . out . println ( Math . max ( o1 , o2 ) < g * t ? " YES " : " NO " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (decimal_integer_literal))) right: (identifier)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) declarator: (variable_declarator name: (identifier) value: (identifier))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (expression_statement (assignment_expression left: (identifier) right: (identifier))) alternative: (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (ternary_expression condition: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (identifier))) right: (binary_expression left: (identifier) right: (identifier))) consequence: (string_literal) alternative: (string_literal)))))))