Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)
One day, KIDx solved a math problem for middle students in seconds! And than he created this problem.
Now, give you the degree of a, b, c, d, please calculate the degree of ∠AED.
There are multiple test cases.
Each case contains one line 4 integers formatted as: "a b c d"
0 ≤ a, b, c, d < 90°.
0 < a+b < 90°, 0 < c+d < 90°.
For each test case, output the answer in one line, rounded to 2 decimal places.