using System; using System.Collections.Generic; using System.Linq; using static System.Console; using static System.Math; class Program { static void Main() { var n = int.Parse(ReadLine()); var z = 'a' - 'a'; var a = 'd' - 'a'; var b = 'f' - 'a'; for (int i = 1; i <= n; i++) { if (n % a == z && n % b == z) WriteLine("FizzBuzz"); else if (n % a == z) WriteLine("Fizz"); else if (n % b == z) WriteLine("Buzz"); else WriteLine(n); } } }