using System; using System.Text; namespace ConsoleApplication1 { class Program { static void Main() { int a; string msg = Console.ReadLine(); a = int.Parse(msg); if (a % 15 == 0) { msg = "FizzBuzz"; }else if(a % 5 == 0){ msg = "Buzz"; } else if (a % 3 == 0) { msg = "Fizz"; } else { msg = a.ToString(); } Console.Write("{0}",msg); } } }