Daily Challenge

FizzBuzz

2026-09-05 · difficulty: easy

Solving anonymously — your submission still gets judged, but points and streaks need an account. Sign in or register to keep your streak.

fizzbuzz.md

Implement solve(n): return the FizzBuzz sequence for 1 to n as a list of strings, one entry per number — 'Fizz' for multiples of 3, 'Buzz' for multiples of 5, 'FizzBuzz' for multiples of both, otherwise the number itself. Input parsing and output printing are handled for you — the sample below shows the raw test data.

Examples

Example 1

Input

5

Output

1
2
Fizz
4
Buzz
submit.sh
leaderboards.log
RankNameScore
No solves yet — be the first!