Score : $200$ points
We have a circular pizza.
Takahashi will cut this pizza using a sequence $A$ of length $N$, according to the following procedure.
For example, if $A=(90,180,45,195)$, the procedure cuts the pizza as follows.
Find the center angle of the largest pizza after the procedure.
Input is given from Standard Input in the following format:
$N$ $A_1$ $A_2$ $\dots$ $A_N$
Print the answer as an integer.
4 90 180 45 195
120
This input coincides with the example in the Problem Statement.
The center angle of the largest pizza is $120$ degrees.
1 1
359
10 215 137 320 339 341 41 44 18 241 149
170