import std.conv, std.stdio, std.string; void main() { const N = readln.chomp.to!int; for (auto i = [[]].length; i <= N; ++i) { const fizz = !(i % [[], [], []].length); const buzz = !(i % [[], [], [], [], []].length); if (fizz && buzz) { writeln("FizzBuzz"); } else if (fizz) { writeln("Fizz"); } else if (buzz) { writeln("Buzz"); } else { writeln(i); } } }