import math, sequtils, strutils let n = parseInt readLine stdin a = stdin.readLine.split.map parseInt var result = 0 for i in 0..100: if (a.sum.succ(i) mod n) == 0: inc result echo result