There are $$$D$$$ children attending a kindergarten. One day, during a festive breakfast, they were served a certain number of cakes. It is known that:
The first line of the input data contains an integer $$$D$$$ ($$$1 \le D \le 10^9$$$).
The second line contains an integer $$$A$$$ ($$$0 \le A \le 10^9$$$).
Print a single integer — the smallest number of cakes that could have been purchased.
Solutions that work for $$$D \le 1000$$$, $$$A \le 1000$$$ will be scored out of 50 points.
4 5
6
In the example from the problem statement, 6 cakes could have been purchased. Two of them were cut in half, and each child received one whole cake and one half.
| Name |
|---|


