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