public static void main ( String args [ ] ) throws IOException {
  Reader in = new Reader ( ) ;
  long [ ] X = new long [ 3 ] ;
  long [ ] Y = new long [ 3 ] ;
  for ( int i = 0 ;
  i < 3 ;
  i ++ ) {
    X [ i ] = in . nextLong ( ) ;
    Y [ i ] = in . nextLong ( ) ;
  }
  int ans = 0 ;
  StringBuilder stringBuilder = new StringBuilder ( ) ;
  for ( int i = 0 ;
  i < 3 ;
  i ++ ) {
    for ( int j = i + 1 ;
    j < 3 ;
    j ++ ) {
      long xx = X [ i ] + X [ j ] - X [ 3 - i - j ] ;
      long yy = Y [ i ] + Y [ j ] - Y [ 3 - i - j ] ;
      if ( ! ( ( xx == X [ i ] && yy == Y [ i ] ) || ( yy == Y [ j ] && xx == X [ j ] ) ) ) {
        ans ++ ;
        stringBuilder . append ( xx ) . append ( " " ) . append ( yy ) . append ( "\n" ) ;
      }
    }
  }
  System . out . println ( ans ) ;
  System . out . println ( stringBuilder ) ;
}

public static void main ( String args [ ] ) throws IOException { Reader in = new Reader ( ) ; long [ ] X = new long [ 3 ] ; long [ ] Y = new long [ 3 ] ; for ( int i = 0 ; i < 3 ; i ++ ) { X [ i ] = in . nextLong ( ) ; Y [ i ] = in . nextLong ( ) ; } int ans = 0 ; StringBuilder stringBuilder = new StringBuilder ( ) ; for ( int i = 0 ; i < 3 ; i ++ ) { for ( int j = i + 1 ; j < 3 ; j ++ ) { long xx = X [ i ] + X [ j ] - X [ 3 - i - j ] ; long yy = Y [ i ] + Y [ j ] - Y [ 3 - i - j ] ; if ( ! ( ( xx == X [ i ] && yy == Y [ i ] ) || ( yy == Y [ j ] && xx == X [ j ] ) ) ) { ans ++ ; stringBuilder . append ( xx ) . append ( " ▁ " ) . append ( yy ) . append ( " \n " ) ; } } } System . out . println ( ans ) ; System . out . println ( stringBuilder ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) (throws (type_identifier)) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (decimal_integer_literal))))) (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (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: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (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: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_integer_literal)))) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (array_access array: (identifier) index: (identifier))) right: (array_access array: (identifier) index: (binary_expression left: (binary_expression left: (decimal_integer_literal) right: (identifier)) right: (identifier)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (array_access array: (identifier) index: (identifier))) right: (array_access array: (identifier) index: (binary_expression left: (binary_expression left: (decimal_integer_literal) right: (identifier)) right: (identifier)))))) (if_statement condition: (parenthesized_expression (unary_expression operand: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (array_access array: (identifier) index: (identifier))) right: (binary_expression left: (identifier) right: (array_access array: (identifier) index: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (array_access array: (identifier) index: (identifier))) right: (binary_expression left: (identifier) right: (array_access array: (identifier) index: (identifier))))))))) consequence: (block (expression_statement (update_expression (identifier))) (expression_statement (method_invocation object: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) name: (identifier) arguments: (argument_list (string_literal))) name: (identifier) arguments: (argument_list (identifier))) name: (identifier) arguments: (argument_list (string_literal)))))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))))