Your company has just won a public contract for building a garage complex. Almost all formalities are done, and the contract payment is already in your account.
So now it is the right time to read the contract. There is a sandlot in the form of a W×H rectangle, and you have to place some garages on it. A garage is a w×h rectangle, and its edges must be parallel to the corresponding edges of the sandlot. You may not rotate a garage, not even by 90∘. The coordinates of a garage do not have to be integers.
Money must be saved, so you decided to place as few garages as possible. The contract states the opposite requirement: place the maximum possible number of garages.
Here is how that requirement is checked. The plan is accepted if it is impossible to add a new garage without moving the garages already placed. The new garage must also have its edges parallel to the corresponding edges of the sandlot.
Time is money. Find the minimal number of garages you must order, so that you can place all of them on the sandlot and no extra garage fits.
The only line contains four integers W, H, w, h: the width and the height of the sandlot and the width and the height of a garage, in meters. You may assume that 1≤w≤W≤30000 and 1≤h≤H≤30000.
Print the optimal number of garages.
On an 11×4 sandlot with a 3×2 garage, a garage rotated to 2×3 would still fit, but the contract forbids rotation, so that placement does not count.