func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long n;     cin >> n;     for (long long i = 0; i < n; i++) {       for (long long j = 0; j < n; j++) {         if (i % 2 == 0 && j % 2 == 0 || i % 2 == 1 && j % 2 == 1)           cout <<  W ;         else           cout <<  B ;       }       cout << endl;     }     return 0;   }   