class Solution:
    def fizzBuzz(self, n):
        a = []
        for i in range(1, n + 1):
            if i % 3 == 0 and i % 5 == 0:
                a.append("FizzBuzz")
            elif i % 3 == 0:
                a.append("Fizz")
            elif i % 5 == 0:
                a.append("Buzz")
            else:
                a.append(str(i))
        return a


if __name__ == '__main__':
    sol = Solution()
    assert sol.fizzBuzz(1) == ["1"]
