public static void check ( int n , int k ) {
  int l = n % 10 ;
  int f = first ( n ) ;
  boolean lp = prime ( l ) ;
  boolean fp = prime ( f ) ;
  if ( lp && fp ) {
    if ( l + f < k ) System . out . println ( "Yes" ) ;
    else System . out . println ( "No" ) ;
  }
  else {
    System . out . println ( "No" ) ;
  }
}

public static void check ( int n , int k ) { int l = n % 10 ; int f = first ( n ) ; boolean lp = prime ( l ) ; boolean fp = prime ( f ) ; if ( lp && fp ) { if ( l + f < k ) System . out . println ( " Yes " ) ; else System . out . println ( " No " ) ; } else { System . out . println ( " No " ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))) alternative: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))))