Time Limit: 1 sec
Ramij is a farmer. He wants to plough a farm field on time, so he must plough M hectares a day. For technical reasons he ploughed only P hectares a day, hence he had to plough C more days than he planned and he still has D hectares left.
Now write a program to calculate the area of the farm field and how many days Ramij planned to work initially.
There will be 4 inputs (M, P, C, D<100) in each line according to above description.
For each line of output print the area of the farm field and how many days Ramij will work initially.
120 85 2 40
Problem Setter: Parag Paul