Chair and Table
Time Limit: 1 sec
The price of X chairs and Y tables totals T taka. The price of one chair is T1 taka; what is the price of one table ?
if X = 5, Y = 2, T = 5945 and T1 = 789 then
the price of one table 1000 taka
The input file contains only 4 integer numbers X, Y, T, T1 (X, Y < 100 and T, T1 <=100000).
Output will show the one integer number which is the price of one table in a separate line.
5 2 5945 789
Problem Setter: Shahin ShamS