Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/qutilar-soni

Number of boxes

Easy 1000 ms 64 MB 17%
Share

There are $n$ apples in total. Each box holds at most $k$ apples. Find the smallest number of boxes needed to pack all the apples.

Diagram of packing the apples into boxes

Input

One line with two positive integers: $n$ and $k$.

Output

One integer — the number of boxes.

Note

$1 \le n, k \le 10^{9}$

Examples

Input #1
10 3
Output #1
4
Input #2
9 3
Output #2
3

Sign in to submit a solution

Signing up is free and takes a minute.