#C9201. Maximum Books Per Box
Maximum Books Per Box
Maximum Books Per Box
You are given two integers: B and N. B represents the total number of books and N represents the desired number of boxes. Your task is to determine the maximum number of books that can be put in each box such that all boxes contain an equal number of books. Any remaining books are discarded.
The answer is given by the formula: \( \text{result} = \left\lfloor \frac{B}{N} \right\rfloor \), where \( \lfloor x \rfloor \) denotes the floor function of \( x \).
inputFormat
The input is provided via standard input and contains two space-separated integers: B
(total number of books) and N
(number of boxes).
outputFormat
Output a single integer representing the maximum number of books that can be placed in each box. The result should be printed to standard output.
## sample23 5
4