"""Small sample program used by `python main.py --demo`."""


def fizzbuzz(n: int) -> list[str]:
    out = []
    for i in range(1, n + 1):
        if i % 15 == 0:
            out.append("FizzBuzz")
        elif i % 3 == 0:
            out.append("Fizz")
        elif i % 5 == 0:
            out.append("Buzz")
        else:
            out.append(str(i))
    return out


def main() -> None:
    for line in fizzbuzz(20):
        print(line)


if __name__ == "__main__":
    main()
