func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     char c;     int blackweight = 0;     int whiteweight = 0;     int i = 0;     while (cin >> c) {       i++;       switch (c) {         case  Q :           whiteweight += 9;           break;         case  R :           whiteweight += 5;           break;         case  B :           whiteweight += 3;           break;         case  N :           whiteweight += 3;           break;         case  P :           whiteweight += 1;           break;         case  q :           blackweight += 9;           break;         case  r :           blackweight += 5;           break;         case  b :           blackweight += 3;           break;         case  n :           blackweight += 3;           break;         case  p :           blackweight += 1;           break;       }       if (i == 64) {         if (blackweight > whiteweight) cout <<  Black  << endl;         if (blackweight == whiteweight) cout <<  Draw  << endl;         if (blackweight < whiteweight) cout <<  White  << endl;         blackweight = whiteweight = i = 0;       }     }     return 0;   }   