static void solve ( ) {
  int A = ni ( ) , B = ni ( ) ;
  if ( A <= B ) {
    out . println ( "Impossible" ) ;
    return ;
  }
  int n = A + B ;
  int [ ] stack = new int [ n ] ;
  int sp = 0 ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    stack [ sp ++ ] = i ;
    if ( sp >= 2 ) {
      if ( ! get ( stack [ sp - 2 ] , stack [ sp - 1 ] ) ) {
        sp -= 2 ;
      }
    }
  }
  assert sp - 1 >= 0 ;
  int honest = stack [ sp - 1 ] ;
  StringBuilder sb = new StringBuilder ( ) ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    if ( get ( honest , i ) ) {
      sb . append ( 1 ) ;
    }
    else {
      sb . append ( 0 ) ;
    }
  }
  out . print ( "! " ) ;
  out . print ( sb ) ;
  out . println ( ) ;
  out . flush ( ) ;
}

static void solve ( ) { int A = ni ( ) , B = ni ( ) ; if ( A <= B ) { out . println ( " Impossible " ) ; return ; } int n = A + B ; int [ ] stack = new int [ n ] ; int sp = 0 ; for ( int i = 0 ; i < n ; i ++ ) { stack [ sp ++ ] = i ; if ( sp >= 2 ) { if ( ! get ( stack [ sp - 2 ] , stack [ sp - 1 ] ) ) { sp -= 2 ; } } } assert sp - 1 >= 0 ; int honest = stack [ sp - 1 ] ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < n ; i ++ ) { if ( get ( honest , i ) ) { sb . append ( 1 ) ; } else { sb . append ( 0 ) ; } } out . print ( " ! ▁ " ) ; out . print ( sb ) ; out . println ( ) ; out . flush ( ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) (return_statement))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (identifier)))) (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 (identifier))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (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: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (update_expression (identifier))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (if_statement condition: (parenthesized_expression (unary_expression operand: (method_invocation name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (binary_expression left: (identifier) right: (decimal_integer_literal))) (array_access array: (identifier) index: (binary_expression left: (identifier) right: (decimal_integer_literal))))))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))))))))) (assert_statement (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (array_access array: (identifier) index: (binary_expression left: (identifier) right: (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: (identifier)) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier)))) consequence: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))))) alternative: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal)))))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))