static boolean checkPossible ( int n , int a , int b ) {
  boolean isPossible [ ] = new boolean [ n + 1 ] ;
  for ( int i = 0 ;
  i <= n ;
  i ++ ) isPossible [ i ] = false ;
  checkIfPossibleRec ( 0 , a , b , isPossible , n ) ;
  return isPossible [ n ] ;
}

static boolean checkPossible ( int n , int a , int b ) { boolean isPossible [ ] = new boolean [ n + 1 ] ; for ( int i = 0 ; i <= n ; i ++ ) isPossible [ i ] = false ; checkIfPossibleRec ( 0 , a , b , isPossible , n ) ; return isPossible [ n ] ; }
(method_declaration (modifiers) type: (boolean_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (array_creation_expression type: (boolean_type) dimensions: (dimensions_expr (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (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: (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (false)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (decimal_integer_literal) (identifier) (identifier) (identifier) (identifier)))) (return_statement (array_access array: (identifier) index: (identifier)))))