#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  char c;
  for (int i = 0; i < n * m; i++) {
    cin >> c;
    if (c == 'C' || c == 'Y' || c == 'M') {
      cout << "#Color";
      return 0;
    }
  }
  cout << "#Black&White";
  return 0;
}
