package main import . "fmt" import . "slices" func main() { var n int Scan(&n) a:=make([]int,n) b:=make([]int,n) for i:=range a { Scan(&a[i]) } for i:=range b { Scan(&b[i]) } Sort(a) dp:=make([][]int,n+1) for i:=range dp { dp[i]=make([]int,1<0 { Println(v) return } } }