import std.stdio, std.algorithm, std.conv, std.range; void main() { iota(1, stdin.byLineCopy.front.to!int + 1) .each!(n => (n % 15 == 0) ? writeln("FizzBuzz") : (n % 5 == 0) ? writeln("Buzz") : (n % 3 == 0) ? writeln("Fizz") : writeln(n) ); }