fn main() { let mut line = String::new(); std::io::stdin().read_line(&mut line).expect("Read failed"); let n :i64 = line.trim().parse().unwrap(); for i in 1 .. (n+1) { if i % 15 == 0 { println!("FizzBuzz"); }else if i % 3 == 0{ println!("Fizz"); }else if i % 5 == 0 { println!("Buzz"); }else{ println!("{}", i); } } }