use std::io::{self, BufRead, BufReader, BufWriter, Write}; fn main() { let stdin = io::stdin(); let mut stdin = BufReader::new(stdin.lock()); let stdout = io::stdout(); let mut stdout = BufWriter::new(stdout.lock()); run(&mut stdin, &mut stdout); } fn run(input: &mut R, output: &mut W) where R: BufRead, W: Write, { let mut buf = String::new(); input.read_line(&mut buf).unwrap(); let mut iter = buf .trim() .split_whitespace() .map(|s| s.parse::().unwrap()); let s = iter.next().unwrap(); let f = iter.next().unwrap(); let answer = 1 + s / f; writeln!(output, "{}", answer).unwrap(); }