#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  bool flag = false;
  char ch;
  while (n--) {
    int temp = (m * 2);
    while (temp--) {
      scanf("%c", &ch);
      if (ch == 'C' || ch == 'M' || ch == 'Y') flag = true;
    }
  }
  if (flag == true)
    cout << "#Color" << endl;
  else
    cout << "#Black&White" << endl;
}
