#include <bits/stdc++.h>
int main() {
  int n, m;
  char c;
  scanf("%d%d", &n, &m);
  c = getchar();
  for (int i = 0; i < 2 * m * n; i++) {
    c = getchar();
    if (c == 'C' || c == 'Y' || c == 'M') {
      printf("#Color\n");
      return 0;
    }
  }
  printf("#Black&White\n");
  return 0;
}
