public static void main ( String args [ ] ) {
  Scanner scanner = new Scanner ( System . in ) ;
  String line = scanner . nextLine ( ) ;
  for ( int i = 0 ;
  i < line . length ( ) ;
  i ++ ) {
    input [ i ] = Character . getNumericValue ( line . charAt ( i ) ) ;
  }
  boolean flg = dfs ( 0 , input [ 0 ] ) ;
  String A = Integer . toString ( input [ 0 ] ) ;
  String B = Integer . toString ( input [ 1 ] ) ;
  String C = Integer . toString ( input [ 2 ] ) ;
  String D = Integer . toString ( input [ 3 ] ) ;
  System . out . print ( A + results [ 0 ] + B + results [ 1 ] + C + results [ 2 ] + D + "=7" ) ;
  scanner . close ( ) ;
}

public static void main ( String args [ ] ) { Scanner scanner = new Scanner ( System . in ) ; String line = scanner . nextLine ( ) ; for ( int i = 0 ; i < line . length ( ) ; i ++ ) { input [ i ] = Character . getNumericValue ( line . charAt ( i ) ) ; } boolean flg = dfs ( 0 , input [ 0 ] ) ; String A = Integer . toString ( input [ 0 ] ) ; String B = Integer . toString ( input [ 1 ] ) ; String C = Integer . toString ( input [ 2 ] ) ; String D = Integer . toString ( input [ 3 ] ) ; System . out . print ( A + results [ 0 ] + B + results [ 1 ] + C + results [ 2 ] + D + " = 7" ) ; scanner . close ( ) ; }
(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)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (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: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) 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 (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))))) (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (decimal_integer_literal) (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (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: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (identifier)) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (identifier)) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (identifier)) right: (string_literal))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))