package main import . "fmt" import . "os" import bf "bufio" func main() { rd:=bf.NewReader(Stdin) var n,m int Fscan(rd,&n,&m) a:=make([]int,m) for i:=range a { Fscan(rd,&a[i]) } t:=make([][]int,n) for i:=range t { t[i]=make([]int,m) for k:=range t[i] { Fscan(rd,&t[i][k]) } } p:=make([]int,n) for i:=0;i0 { Print(" ") } Print(c-1) } Println() }