Time Limit: 1 sec
A student chose a number, multiplied it by N, then subtracted P from the result and got D. What was the number he chose?
There will be 3 input in each line (N,P,D<1000) in each Line.
You have to print the number the student choosed.
40 146 174
Problem Setter: Parag Paul