i = gets.to_i for n in 1..i if i%15 == 0 puts "FizzBuzz" elsif i%3 == 0 puts "Fizz" elsif i%5 == 0 puts "Buzz" elsif puts i end end