#include <bits/stdc++.h>
using namespace std;
void checkDefine();
long long int n, m;
int main() {
  char c;
  bool ok = false;
  cin >> n >> m;
  for (int i = (0), _b = (n - 1); i <= _b; i++) {
    for (int j = (0), _b = (m - 1); j <= _b; j++) {
      cin >> c;
      if (c != 'W' && c != 'B' && c != 'G') {
        ok = true;
      }
    }
  }
  if (ok) {
    cout << "#Color";
  } else {
    cout << "#Black&White";
  }
  return 0;
}
void checkDefine() {
  long long int n, a[100005];
  map<long long int, long long int> m;
  cin >> n;
  for (int i = (0), _b = (n - 1); i <= _b; i++) {
    cin >> a[i];
    m[a[i]]++;
  }
  string s;
  cin >> s;
  {
    cout << "s"
         << " = ";
    cout << (s) << endl;
  };
  {
    cout << "a"
         << " = ";
    for (int _ = 0, _a = (n); _ < _a; _++) cout << a[_] << ' ';
    cout << endl;
  };
  {
    cout << "\"------------\""
         << " = ";
    cout << ("------------") << endl;
  };
  for (__typeof(m.begin()) it = m.begin(); it != m.end(); ++it) {
    cout << it->first << " " << it->second << endl;
  }
}
