Skip to main content

~/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:

A triangle: two angles alpha and beta are given, the third angle gamma is to be found

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

Sign in to submit a solution

Signing up is free and takes a minute.