let n = Int(readLine()!)! for i in 1...n { print([["FizzBuzz","Fizz"],["Buzz",i]][i%3==0 ?0:1][i%5==0 ?0:1]) }