public static void process ( ) throws IOException {
  int n = ni ( ) ;
  String str = nln ( ) ;
  int R = 0 , B = 0 , G = 0 ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    char c = str . charAt ( i ) ;
    if ( c == 'R' ) {
      R ++ ;
    }
    else if ( c == 'G' ) {
      G ++ ;
    }
    else {
      B ++ ;
    }
  };
}

public static void process ( ) throws IOException { int n = ni ( ) ; String str = nln ( ) ; int R = 0 , B = 0 , G = 0 ; for ( int i = 0 ; i < n ; i ++ ) { char c = str . charAt ( i ) ; if ( c == ' R ' ) { R ++ ; } else if ( c == ' G ' ) { G ++ ; } else { B ++ ; } } ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) (throws (type_identifier)) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) 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 (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (block (expression_statement (update_expression (identifier)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (block (expression_statement (update_expression (identifier)))) alternative: (block (expression_statement (update_expression (identifier))))))))))