~/algor $ cat contests/round-7/D
D. Third angle of a triangle
Problem D
ICPC rules
1000 ms
64 MB
Two angles of a triangle, and (in degrees), are given. Find the third angle . The angles of a triangle add up to degrees:
Input
One line with two positive integers: and .
Output
One positive integer — .
Note
Examples
Input #1
60 70
Output #1
50
Input #2
90 45
Output #2
45