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; class Program { static void Main(string[] args) { int N = int.Parse(Console.ReadLine()); int one = -(int.MaxValue + int.MinValue); int three = one + one + one; int five = three + one + one; int fifteen = three * five; int zero = one-one; for (int i = one; i <= N; i++) { if (i % fifteen == zero) { Console.WriteLine("FizzBuzz"); } else if (i % three == zero) { Console.WriteLine("Fizz"); } else if(i%five == zero) { Console.WriteLine("Buzz"); } else { Console.WriteLine(i.ToString()); } } } }