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 = 'b' - 'a'; i <= n; i++) { if (i % a == z && i % b == z) WriteLine("FizzBuzz"); else if (i % a == z) WriteLine("Fizz"); else if (i % b == z) WriteLine("Buzz"); else WriteLine(i); } } }