LearnPy Hub
← Operators problems
Hard

Buses Needed

n students go on a trip and each bus holds k students. Print how many buses are needed, without importing math. Hint: (n + k − 1) // k.

Input

Two integers n ≥ 0, k > 0.

Output

Number of buses.

Sample 1

Input
100
30
Output
4

Sample 2

Input
90
30
Output
3
solution.py
Output appears here
Buses Needed · Python practice problem · LearnPy Hub