public static void main ( String [ ] args ) {
  String s1 = sc . next ( ) ;
  String s2 = sc . next ( ) ;
  StringBuilder sum = new StringBuilder ( ) ;
  for ( int i = 0 ;
  i < s1 . length ( ) ;
  i ++ ) {
    int n = s1 . charAt ( i ) - '0' ;
    int m = s2 . charAt ( i ) - '0' ;
    if ( ( n + m ) == 1 ) {
      sum . append ( "1" ) ;
    }
    else {
      sum . append ( "0" ) ;
    }
  }
  System . out . println ( sum . toString ( ) ) ;
}

public static void main ( String [ ] args ) { String s1 = sc . next ( ) ; String s2 = sc . next ( ) ; StringBuilder sum = new StringBuilder ( ) ; for ( int i = 0 ; i < s1 . length ( ) ; i ++ ) { int n = s1 . charAt ( i ) - '0' ; int m = s2 . charAt ( i ) - '0' ; if ( ( n + m ) == 1 ) { sum . append ( "1" ) ; } else { sum . append ( "0" ) ; } } System . out . println ( sum . toString ( ) ) ; }
(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: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (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) 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: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (character_literal)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (character_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (decimal_integer_literal))) consequence: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))))) alternative: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_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)))))))