fn pan_fry_time(n: i32) -> i32 {
    if n % 2 == 0 {
        (n / 2) * 2
    } else {
        ((n / 2) + 1) * 2
    }
}

fn main() {
    let n = std::env::args()
        .nth(1)
        .expect("Expected an argument for the number of buns.")
        .parse::<i32>()
        .expect("Expected an integer argument for the number of buns.");
    println!("{} минут(ы), чтобы пожарить столько булочек.", pan_fry_time(n));
}
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence