public static void main ( String args [ ] ) {
  FastReader sc = new FastReader ( ) ;
  int t = 8 ;
  int b = 0 , w = 0 ;
  while ( t -- > 0 ) {
    String s = sc . next ( ) ;
    for ( int i = 0 ;
    i < 8 ;
    i ++ ) {
      char ss = s . charAt ( i ) ;
      if ( ss == 'Q' ) {
        w += 9 ;
      }
      else if ( ss == 'R' ) w += 5 ;
      else if ( ss == 'B' ) w += 3 ;
      else if ( ss == 'N' ) w += 3 ;
      else if ( ss == 'P' ) w += 1 ;
      else if ( ss == 'q' ) {
        b += 9 ;
      }
      else if ( ss == 'r' ) b += 5 ;
      else if ( ss == 'b' ) b += 3 ;
      else if ( ss == 'n' ) b += 3 ;
      else if ( ss == 'p' ) b += 1 ;
    }
  }
  if ( w > b ) System . out . println ( "White" ) ;
  else if ( b > w ) System . out . println ( "Black" ) ;
  else System . out . println ( "Draw" ) ;
}

public static void main ( String args [ ] ) { FastReader sc = new FastReader ( ) ; int t = 8 ; int b = 0 , w = 0 ; while ( t -- > 0 ) { String s = sc . next ( ) ; for ( int i = 0 ; i < 8 ; i ++ ) { char ss = s . charAt ( i ) ; if ( ss == ' Q ' ) { w += 9 ; } else if ( ss == ' R ' ) w += 5 ; else if ( ss == ' B ' ) w += 3 ; else if ( ss == ' N ' ) w += 3 ; else if ( ss == ' P ' ) w += 1 ; else if ( ss == ' q ' ) { b += 9 ; } else if ( ss == ' r ' ) b += 5 ; else if ( ss == ' b ' ) b += 3 ; else if ( ss == ' n ' ) b += 3 ; else if ( ss == ' p ' ) b += 1 ; } } if ( w > b ) System . out . println ( " White " ) ; else if ( b > w ) System . out . println ( " Black " ) ; else System . out . println ( " Draw " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (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)) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (update_expression (identifier)) right: (decimal_integer_literal))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (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: (decimal_integer_literal)) 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 (assignment_expression left: (identifier) right: (decimal_integer_literal)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))))))))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))))