static long solve ( int A , int B , int X , int Y , int N ) {
  int delta = Math . min ( A - X , N ) ;
  A -= delta ;
  N -= delta ;
  delta = Math . min ( B - Y , N ) ;
  B -= delta ;
  return A * ( long ) B ;
}

static long solve ( int A , int B , int X , int Y , int N ) { int delta = Math . min ( A - X , N ) ; A -= delta ; N -= delta ; delta = Math . min ( B - Y , N ) ; B -= delta ; return A * ( long ) B ; }
(method_declaration (modifiers) type: (integral_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)) (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: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement (binary_expression left: (identifier) right: (cast_expression type: (integral_type) value: (identifier))))))