fn getline() -> String { let mut __ret = String::new(); std::io::stdin().read_line(&mut __ret).ok(); return __ret; } fn main() { let s = getline(); let a: Vec<_> = s.trim().split(' ').collect(); let x: i32 = a[0].parse().unwrap(); for n in 1..=x { if n % 15 == 0 { println!("FizzBuzz"); } else if n % 3 == 0 { println!("Fizz"); } else if n % 5 == 0 { println!("Buzz"); } else { println!("{}", n); } } }