#Problem Link:
#https://leetcode.com/problems/fizz-buzz/description/
class Solution(object):
    def fizzBuzz(self, n):
        """
        :type n: int
        :rtype: List[str]
        """
        result = []
        for x in xrange(1,n+1,1):
            if x%3 == 0 and x%5 ==0 :
                result.append("FizzBuzz")
            elif x%3 == 0:
                result.append("Fizz")
            elif x%5 == 0:
                result.append("Buzz")
            else:
                result.append(str(x))
        return result
        
