Vasya and the Protractor#5711

Vasya and the Protractor

0.1 seconds
8 megabytes
Very easy

In his father's desk, Vasya discovered an intriguing tool known as a protractor. His father explained to the curious schoolboy how to use this device to measure angles, and Vasya eagerly began experimenting. Coincidentally, they had just started studying triangles at school the day before, so his notebook was filled with drawings.

After measuring each angle, Vasya would promptly jot down its value in his notebook before moving on to the next one.

However, his learning session was abruptly interrupted by his mother, who loudly announced: "Duty is duty, but lunch is on schedule!". After lunch, Vasya found that his father had locked the protractor in the desk, leaving one angle unmeasured.

Help Vasya complete his unfinished experiment.

Input

First, the value of the first measured angle is provided, followed by the second. All input values are positive integers that do not exceed .

Output

Output a single number representing the magnitude of the angle in the triangle that Vasya did not measure, in degrees, or if Vasya made an error in measuring the previous angles due to his mother's interruption.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading