public static void main ( String [ ] args ) {
  String a = sc . next ( ) ;
  String b = sc . next ( ) ;
  String c = null ;
  String [ ] list = new String [ a . length ( ) ] ;
  String [ ] list2 = new String [ a . length ( ) ] ;
  for ( int i = 0 ;
  i < a . length ( ) ;
  i ++ ) {
    list [ i ] = String . valueOf ( a . charAt ( i ) ) ;
    list2 [ i ] = String . valueOf ( b . charAt ( i ) ) ;
  }
  String atc = "[a|t|c|o|d|e|r]" ;
  boolean bl = false ;
  for ( int i = 0 ;
  i < a . length ( ) ;
  i ++ ) {
    if ( bl == true || i == 0 ) {
      if ( list [ i ] . equals ( list2 [ i ] ) ) {
        bl = true ;
      }
      else if ( list [ i ] . equals ( "@" ) ) {
        bl = list2 [ i ] . matches ( atc ) ;
      }
      else if ( list2 [ i ] . equals ( "@" ) ) {
        bl = list [ i ] . matches ( atc ) ;
      }
      else {
        bl = false ;
      }
    }
    else {
      break ;
    }
  };
  if ( bl == true ) {
    c = "You can win" ;
  }
  else {
    c = "You will lose" ;
  }
  System . out . println ( c ) ;
  System . out . flush ( ) ;
  sc . close ( ) ;
}

public static void main ( String [ ] args ) { String a = sc . next ( ) ; String b = sc . next ( ) ; String c = null ; String [ ] list = new String [ a . length ( ) ] ; String [ ] list2 = new String [ a . length ( ) ] ; for ( int i = 0 ; i < a . length ( ) ; i ++ ) { list [ i ] = String . valueOf ( a . charAt ( i ) ) ; list2 [ i ] = String . valueOf ( b . charAt ( i ) ) ; } String atc = " [ a | t | c | o | d | e | r ] " ; boolean bl = false ; for ( int i = 0 ; i < a . length ( ) ; i ++ ) { if ( bl == true || i == 0 ) { if ( list [ i ] . equals ( list2 [ i ] ) ) { bl = true ; } else if ( list [ i ] . equals ( " @ " ) ) { bl = list2 [ i ] . matches ( atc ) ; } else if ( list2 [ i ] . equals ( " @ " ) ) { bl = list [ i ] . matches ( atc ) ; } else { bl = false ; } } else { break ; } } ; if ( bl == true ) { c = " You ▁ can ▁ win " ; } else { c = " You ▁ will ▁ lose " ; } System . out . println ( c ) ; System . out . flush ( ) ; sc . close ( ) ; }
(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: (null_literal))) (local_variable_declaration type: (array_type element: (type_identifier) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (type_identifier) dimensions: (dimensions_expr (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration type: (array_type element: (type_identifier) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (type_identifier) dimensions: (dimensions_expr (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))))))) (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: (type_identifier) declarator: (variable_declarator name: (identifier) value: (string_literal))) (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) value: (false))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (true)) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) consequence: (block (if_statement condition: (parenthesized_expression (method_invocation object: (array_access array: (identifier) index: (identifier)) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (identifier))))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (if_statement condition: (parenthesized_expression (method_invocation object: (array_access array: (identifier) index: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (array_access array: (identifier) index: (identifier)) name: (identifier) arguments: (argument_list (identifier)))))) alternative: (if_statement condition: (parenthesized_expression (method_invocation object: (array_access array: (identifier) index: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (array_access array: (identifier) index: (identifier)) name: (identifier) arguments: (argument_list (identifier)))))) alternative: (block (expression_statement (assignment_expression left: (identifier) right: (false)))))))) alternative: (block (break_statement))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (true))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (string_literal)))) alternative: (block (expression_statement (assignment_expression left: (identifier) right: (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))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))