open System let ri () = stdin.ReadLine() |> int let ria () = stdin.ReadLine().Split() |> Array.map int type Sol() = member this.Solve() = let N = ri () let f n = match n with | n when (n % 15) = 0 -> "FizzBuzz" | n when (n % 3) = 0 -> "Fizz" | n when (n % 5) = 0 -> "Buzz" | _ -> n |> string [1..N] |> Seq.map f |> Seq.iter (printfn "%s") () let mySol = new Sol() mySol.Solve()