public static void main ( String [ ] args ) {
  Scanner in = new Scanner ( System . in ) ;
  String a = in . nextLine ( ) ;
  String z , v , m ;
  int x = a . indexOf ( "+" ) ;
  int y = a . indexOf ( "=" ) ;
  z = a . substring ( 0 , x ) ;
  v = a . substring ( x + 1 , y ) ;
  m = a . substring ( y + 1 , a . length ( ) ) ;
  if ( z . length ( ) + v . length ( ) == m . length ( ) ) {
    System . out . println ( a ) ;
  }
  else if ( z . length ( ) + 1 + v . length ( ) == m . length ( ) - 1 && m . length ( ) > 0 ) {
    a = '|' + a ;
    System . out . println ( a . substring ( 0 , a . length ( ) - 1 ) ) ;
  }
  else if ( z . length ( ) - 1 + v . length ( ) == m . length ( ) + 1 && z . length ( ) - 1 > 0 ) {
    a += '|' ;
    System . out . println ( a . substring ( 1 , a . length ( ) ) ) ;
  }
  else if ( z . length ( ) + v . length ( ) - 1 == m . length ( ) + 1 && v . length ( ) - 1 > 0 ) {
    v = v . substring ( 1 , v . length ( ) ) ;
    m += '|' ;
    System . out . println ( z + "+" + v + "=" + m ) ;
  }
  else System . out . println ( "Impossible" ) ;
}

public static void main ( String [ ] args ) { Scanner in = new Scanner ( System . in ) ; String a = in . nextLine ( ) ; String z , v , m ; int x = a . indexOf ( " + " ) ; int y = a . indexOf ( " = " ) ; z = a . substring ( 0 , x ) ; v = a . substring ( x + 1 , y ) ; m = a . substring ( y + 1 , a . length ( ) ) ; if ( z . length ( ) + v . length ( ) == m . length ( ) ) { System . out . println ( a ) ; } else if ( z . length ( ) + 1 + v . length ( ) == m . length ( ) - 1 && m . length ( ) > 0 ) { a = ' | ' + a ; System . out . println ( a . substring ( 0 , a . length ( ) - 1 ) ) ; } else if ( z . length ( ) - 1 + v . length ( ) == m . length ( ) + 1 && z . length ( ) - 1 > 0 ) { a += ' | ' ; System . out . println ( a . substring ( 1 , a . length ( ) ) ) ; } else if ( z . length ( ) + v . length ( ) - 1 == m . length ( ) + 1 && v . length ( ) - 1 > 0 ) { v = v . substring ( 1 , v . length ( ) ) ; m += ' | ' ; System . out . println ( z + " + " + v + " = " + m ) ; } else System . out . println ( " Impossible " ) ; }
(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: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal)) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) right: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal))) right: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (character_literal) right: (identifier)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal)))))))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) right: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal))) right: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal)) right: (decimal_integer_literal)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (character_literal))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) right: (decimal_integer_literal)) right: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal))) right: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal)) right: (decimal_integer_literal)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (character_literal))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier)))))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))))))