let n = Int(readLine()!)! let a = readLine()!.split(separator: " ").map{Int($0)!} let t = a.reduce(0){$0 + $1} var c = 0 for i in 0...100{ if (t + i) % n == 0{ c += 1 } } print(c)