public static void main ( String [ ] args ) {
  Scanner in = new Scanner ( System . in ) ;
  long x1 , y1 , x2 , y2 , m , x3 , y3 ;
  x1 = in . nextLong ( ) ;
  y1 = in . nextLong ( ) ;
  x2 = in . nextLong ( ) ;
  y2 = in . nextLong ( ) ;
  x3 = Math . abs ( x2 - x1 ) ;
  y3 = Math . abs ( y2 - y1 ) ;
  if ( y3 >= x3 ) {
    m = y3 ;
    System . out . println ( m ) ;
  }
  else {
    m = x3 ;
    System . out . println ( m ) ;
  }
}

public static void main ( String [ ] args ) { Scanner in = new Scanner ( System . in ) ; long x1 , y1 , x2 , y2 , m , x3 , y3 ; x1 = in . nextLong ( ) ; y1 = in . nextLong ( ) ; x2 = in . nextLong ( ) ; y2 = in . nextLong ( ) ; x3 = Math . abs ( x2 - x1 ) ; y3 = Math . abs ( y2 - y1 ) ; if ( y3 >= x3 ) { m = y3 ; System . out . println ( m ) ; } else { m = x3 ; System . out . println ( m ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) 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)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))) alternative: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))))))