using System; using System.Collections.Generic; using System.Linq; class Program { public void Solve() { List a = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList(); int count = 0; foreach (var N in a) { if (N % 15 == 0) { count += "FizzBuzz".Count(); } else if (N % 3 == 0) { count += "Fizz".Count(); } else if (N % 5 == 0) { count += "Buzz".Count(); } else { count += N.ToString().Count(); } } Console.WriteLine(count); } static void Main() { var solver = new Program(); solver.Solve(); } }