package main import ( "bufio" "fmt" "os" ) var sc = bufio.NewScanner(os.Stdin) func Scanner() string { sc.Scan() return sc.Text() } func main() { buf := make([]byte, 0) sc.Buffer(buf, 100000007) sc.Split(bufio.ScanWords) s := Scanner() if s[len(s)-2:] == "ai" { fmt.Println(s[:len(s)-2] + "AI") } else { fmt.Println(s + "-AI") } }