(1..gets.to_i).map{|i|s="";i%3<1&&s+="Fizz";i%5<1&&s+="Buzz";puts s[1]?s: i}