public static void main ( String [ ] args ) {
  Scanner sc = new Scanner ( System . in ) ;
  Map < Character , Integer > map = new HashMap < > ( ) ;
  map . put ( 'Q' , 9 ) ;
  map . put ( 'R' , 5 ) ;
  map . put ( 'B' , 3 ) ;
  map . put ( 'N' , 3 ) ;
  map . put ( 'P' , 1 ) ;
  map . put ( 'K' , 0 ) ;
  map . put ( 'q' , 9 ) ;
  map . put ( 'r' , 5 ) ;
  map . put ( 'b' , 3 ) ;
  map . put ( 'n' , 3 ) ;
  map . put ( 'p' , 1 ) ;
  map . put ( 'k' , 0 ) ;
  long p1 = 0 ;
  long p2 = 0 ;
  ;
}

public static void main ( String [ ] args ) { Scanner sc = new Scanner ( System . in ) ; Map < Character , Integer > map = new HashMap < > ( ) ; map . put ( ' Q ' , 9 ) ; map . put ( ' R ' , 5 ) ; map . put ( ' B ' , 3 ) ; map . put ( ' N ' , 3 ) ; map . put ( ' P ' , 1 ) ; map . put ( ' K ' , 0 ) ; map . put ( ' q ' , 9 ) ; map . put ( ' r ' , 5 ) ; map . put ( ' b ' , 3 ) ; map . put ( ' n ' , 3 ) ; map . put ( ' p ' , 1 ) ; map . put ( ' k ' , 0 ) ; long p1 = 0 ; long p2 = 0 ; ; }
(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: (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)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (character_literal) (decimal_integer_literal)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)))))