using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestConsole { class Program { static void Main(string[] args) { const string fizz = "Fizz"; const string buzz = "buzz"; var readN = Console.ReadLine(); for (int i = 1; i <= int.Parse(readN); i++) { if (i % 15 == 0) { Console.WriteLine(fizz + buzz); } else if (i % 3 == 0) { Console.WriteLine(fizz); } else if (i % 5 == 0) { Console.WriteLine(buzz); } else { Console.WriteLine(i); } } } } }