using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); for(int i = 1; i <= n; i++) { if (i % 3 == 0 && i % 5 != 0) { Console.WriteLine("Fizz"); } else if (i % 3 != 0 && i % 5 == 0) { Console.WriteLine("Buzz"); } else if (i % 3 == 0 && i % 5 == 0) { Console.WriteLine("FizzBuzz"); } else { Console.WriteLine(i); } } } } }