package main import . "fmt" func main() { var s string Scan(&s) m:=map[rune]bool{} for _,c:=range s { m[c]=true } if len(m)<=3&&m['A']&&m['C'] { Println("Done!") } else { Println("Failed...") } }