package main import . "fmt" func main() { var n int Scan(&n) s:=n*(n+1)/2 p:=make([]int,n) for i:=1;i