Problems
241 - Too Easy!!!!!!
SUBMIT PROBLEM

Too Easy!!!!!!

Time Limit: 1 sec

 

The Problem

A student chose a number, multiplied it by N, then subtracted P from the result and got D. What was the number he chose?

 

 

The Input

There will be 3 input in each line (N,P,D<1000) in each Line.

 

The Output

You have to print the number the student choosed.

 

Sample Input

40 146 174

 

Sample Output

8

 

 

 

 

 

Problem Setter: Parag Paul