package main
import "fmt"
func main() {
var n, m int
fmt.Scan(&n, &m)
color := false
for i := 0; i < n; i++ {
for j := 0; j < m; j++ {
var s string
fmt.Scan(&s)
if s == "C" || s == "M" || s == "Y" {
color = true
}
}
}
if color {
fmt.Println("#Color")
} else {
fmt.Println("#Black&White")
}
}