package main import . "fmt" func main() { var n int Scan(&n) a:=make([]string,n) for i:=range a { Scan(&a[i]) } for i,s:=range a { var b string Scan(&b) if s!=b { Println(i+1) Println(s) Println(b) } } }