#P22. 【例6.2】捡石头

【例6.2】捡石头

Description

Yesterday, a kindergarten child found 33 small stones and wants to pick up one more stone so that the total weight of the 44 stones is exactly 2020 pounds. What should be the weight of the stone he should pick up?

Input Format

Three integers aa, bb, cc, representing the weights of the three stones (in pounds). (0<a,b,c,a+b+c200 < a,b,c,a+b+c \le 20)

Output Format

An integer representing the weight of the fourth stone (in pounds).

Sample

3 5 7
5