using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; using System.Text.RegularExpressions; using System.Linq; using System.IO; using System.Diagnostics; class Scanner { private readonly char Separator = ' '; private int Index = 0; private string[] Line = new string[0]; public string Next() { if (Index >= Line.Length) { Line = Console.ReadLine().Split(Separator); Index = 0; } var ret = Line[Index]; Index++; return ret; } public int NextInt() { return int.Parse(Next()); } public long NextLong() { return long.Parse(Next()); } } class Program { public void Solve() { var a = Console.ReadLine().Split(' '); var fizzbuzz = a.Select(s => { int i = int.Parse(s); if (i % 15 == 0) { return "FizzBuzz"; } else if (i % 3 == 0) { return "Fizz"; } else if (i % 5 == 0) { return "Buzz"; } else { return s; } }).ToArray(); Console.WriteLine(fizzbuzz.Sum(s => s.Length)); } private bool TwoPow(long n) { return (n & (n - 1)) == 0; } static public void Main() { new Program().Solve(); } }