import strutils, sequtils proc fzbz(x: int): auto = var bf = "" if x mod 3 == 0: bf.add "Fizz" if x mod 5 == 0: bf.add "Buzz" if bf == "": bf.add x result = bf.len let a = stdin.readLine.split.map parseInt var ans = 0 for a in a: ans.inc a.fzbz echo ans