public static void main ( String [ ] args ) throws Exception {
  Scanner sc = new Scanner ( System . in ) ;
  Map < String , Integer > map = new TreeMap < > ( ) ;
  String s = sc . next ( ) ;
  String A [ ] = {
    "A" , "B" , "C" , "D" , "E" , "F" };
    for ( int i = 0 ;
    i < 6 ;
    i ++ ) map . put ( A [ i ] , 0 ) ;
    for ( int i = 0 ;
    i < s . length ( ) ;
    i ++ ) {
      String S = s . substring ( i , i + 1 ) ;
      map . put ( S , map . get ( S ) + 1 ) ;
    }
    System . out . println ( map . get ( "A" ) + " " + map . get ( "B" ) + " " + map . get ( "C" ) + " " + map . get ( "D" ) + " " + map . get ( "E" ) + " " + map . get ( "F" ) ) ;
  }
  
public static void main ( String [ ] args ) throws Exception { Scanner sc = new Scanner ( System . in ) ; Map < String , Integer > map = new TreeMap < > ( ) ; String s = sc . next ( ) ; String A [ ] = { " A " , " B " , " C " , " D " , " E " , " F " } ; for ( int i = 0 ; i < 6 ; i ++ ) map . put ( A [ i ] , 0 ) ; for ( int i = 0 ; i < s . length ( ) ; i ++ ) { String S = s . substring ( i , i + 1 ) ; map . put ( S , map . get ( S ) + 1 ) ; } System . out . println ( map . get ( " A " ) + " ▁ " + map . get ( " B " ) + " ▁ " + map . get ( " C " ) + " ▁ " + map . get ( " D " ) + " ▁ " + map . get ( " E " ) + " ▁ " + map . get ( " F " ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) (throws (type_identifier)) 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: (generic_type (type_identifier) (type_arguments (type_identifier) (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: (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) dimensions: (dimensions) value: (array_initializer (string_literal) (string_literal) (string_literal) (string_literal) (string_literal) (string_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: (decimal_integer_literal)) update: (update_expression (identifier)) body: (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (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: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (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: (binary_expression left: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))) right: (string_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) right: (string_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) right: (string_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) right: (string_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) right: (string_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))))))))