package main import . "fmt" func main() { var h,w int Scan(&h,&w) for ; h > 0; h-- { var s string Scan(&s) t := "" for i := 0; i < len(s); i++ { switch s[i] { case '.': t += "." case 'y': t += "yiwiY9" i += 5 case '9': t += "9Yiwiy" i += 5 } } Println(t) } }