public static void main ( String args [ ] ) {
  Scanner cin = new Scanner ( System . in ) ;
  for ( int i = 1 ;
  i <= 100000 ;
  i ++ ) mul [ i ] = ( long ) i * i * i ;
  long m = cin . nextLong ( ) ;
  dfs ( m , 0 , 0 ) ;
  System . out . println ( res + " " + ans ) ;
}

public static void main ( String args [ ] ) { Scanner cin = new Scanner ( System . in ) ; for ( int i = 1 ; i <= 100000 ; i ++ ) mul [ i ] = ( long ) i * i * i ; long m = cin . nextLong ( ) ; dfs ( m , 0 , 0 ) ; System . out . println ( res + " ▁ " + ans ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (identifier) field: (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: (decimal_integer_literal)) update: (update_expression (identifier)) body: (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (binary_expression left: (binary_expression left: (cast_expression type: (integral_type) value: (identifier)) right: (identifier)) right: (identifier))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (decimal_integer_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (string_literal)) right: (identifier)))))))