static String pangrams ( String s ) {
  if ( s . length ( ) == 1 ) return "Yes" ;
  ArrayList < Character > alphas = new ArrayList < > ( ) ;
  ArrayList < Character > alphac = new ArrayList < > ( ) ;
  for ( int i = 'A' ;
  i <= 'Z' ;
  i ++ ) {
    alphas . add ( ( char ) i ) ;
  }
  for ( int i = 'a' ;
  i <= 'z' ;
  i ++ ) {
    alphac . add ( ( char ) i ) ;
  }
  int [ ] c = new int [ alphac . size ( ) ] ;
  Arrays . fill ( c , 0 ) ;
  for ( int i = 0 ;
  i < s . length ( ) ;
  i ++ ) {
    int indexs = alphas . indexOf ( s . charAt ( i ) ) ;
    int indexc = alphac . indexOf ( s . charAt ( i ) ) ;
    if ( indexc >= 0 ) c [ indexc ] ++ ;
    if ( indexs >= 0 ) c [ indexs ] ++ ;
  }
  for ( int i : c ) {
    if ( i > 1 ) return "Yes" ;
  }
  return "No" ;
}

static String pangrams ( String s ) { if ( s . length ( ) == 1 ) return " Yes " ; ArrayList < Character > alphas = new ArrayList < > ( ) ; ArrayList < Character > alphac = new ArrayList < > ( ) ; for ( int i = ' A ' ; i <= ' Z ' ; i ++ ) { alphas . add ( ( char ) i ) ; } for ( int i = ' a ' ; i <= ' z ' ; i ++ ) { alphac . add ( ( char ) i ) ; } int [ ] c = new int [ alphac . size ( ) ] ; Arrays . fill ( c , 0 ) ; for ( int i = 0 ; i < s . length ( ) ; i ++ ) { int indexs = alphas . indexOf ( s . charAt ( i ) ) ; int indexc = alphac . indexOf ( s . charAt ( i ) ) ; if ( indexc >= 0 ) c [ indexc ] ++ ; if ( indexs >= 0 ) c [ indexs ] ++ ; } for ( int i : c ) { if ( i > 1 ) return " Yes " ; } return " No " ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (decimal_integer_literal))) consequence: (return_statement (string_literal))) (local_variable_declaration type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (generic_type (type_identifier) (type_arguments)) arguments: (argument_list)))) (local_variable_declaration type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (generic_type (type_identifier) (type_arguments)) arguments: (argument_list)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (character_literal))) condition: (binary_expression left: (identifier) right: (character_literal)) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (cast_expression type: (integral_type) value: (identifier))))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (character_literal))) condition: (binary_expression left: (identifier) right: (character_literal)) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (cast_expression type: (integral_type) value: (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 (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (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: (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: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (update_expression (array_access array: (identifier) index: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (update_expression (array_access array: (identifier) index: (identifier))))))) (enhanced_for_statement type: (integral_type) name: (identifier) value: (identifier) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (return_statement (string_literal))))) (return_statement (string_literal))))