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