for i in range(1,101): s="" while i%3==0:s+="Fizz";i/=3 while i%5==0:s+="Buzz";i/=5 print s or i