#include using namespace std; typedef long long ll; typedef long double ld; typedef pair ii; typedef vector vi; typedef vector vvi; typedef vector vvvi; typedef vector vvvvi; typedef vector vii; #define x first #define y second #define pb push_back #define eb emplace_back #define all(v) (v).begin(), (v).end() ld PI = acos((ld) -1); void run() { ll n; cin >> n; vi X(n), Y(n); for (ll i = 0; i < n; i++) { cin >> X[i] >> Y[i]; } ld res = 0; for (ll i = 1; i < n-1; i++) { res = max(res, 180*atan(Y[i]/(X[i]-X[0]))/PI); res = max(res, 180*atan(Y[i]/(X[n-1]-X[i]))/PI); } cout << res << endl; } signed main() { ios_base::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(20); run(); return 0; }