package main import ( "fmt" "container/list" ) func main() { n:=0 fmt.Scan(&n) queue:=list.New() for i:=0;i<n;i++{ var op string; fmt.Scan(&op) if op == "push"{ var num int; fmt.Scan(&num) queue.PushBack(num) }else if (queue.Len() == 0){ fmt.Println("...