Enough Buses
N people must travel; each bus seats S. Print the minimum number of buses.
Input: one line with two integers N and S.
Output: ⌈N/S⌉.
Constraints:
- 1 ≤ N ≤ 1018
- 1 ≤ S ≤ 109
Sample Tests
Input 1
45 40
Output 1
2
Input 2
40 40
Output 2
1
Discussion (opens after you solve — no spoilers before)
No comments yet.