package main import( "fmt" ) func main(){ var t,num int mp:=make(map[int]int) res:=make([]int,0) fmt.Scan(&t) for i:=0;i<t;i++{ fmt.Scan(&num) if m...