static int ansQuery ( int w ) {
  return dp [ 0 ] [ w ] ;
}

static int ansQuery ( int w ) { return dp [ 0 ] [ w ] ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (array_access array: (array_access array: (identifier) index: (decimal_integer_literal)) index: (identifier)))))