#P22. 【例6.2】捡石头
【例6.2】捡石头
Description
Yesterday, a kindergarten child found small stones and wants to pick up one more stone so that the total weight of the stones is exactly pounds. What should be the weight of the stone he should pick up?
Input Format
Three integers , , , representing the weights of the three stones (in pounds). ()
Output Format
An integer representing the weight of the fourth stone (in pounds).
Sample
3 5 75