#include <bits/stdc++.h>   using namespace std;   const int nmax = 1010;   const int inf = 1000000007;   int n;   pair<int, int> a[nmax];   int main() {     ios_base::sync_with_stdio(false);     cin >> n;     for (int i = 1; i <= n; ++i) cin >> a[i].first >> a[i].second;     long double ans = 1e15;     a[n + 1] = a[1];     a[n + 2] = a[2];     for (int i = 1; i <= n; ++i) {       pair<int, int> a1 = a[i], a2 = a[i + 1], a3 = a[i + 2];       long double A = a3.second - a1.second, B = a1.first - a3.first,                   C = -A * a3.first - a3.second * B;       long double d =           abs(A * a2.first + B * a2.second + C) / (sqrt((A * A + B * B)));       if (ans > d) ans = d;     }     cout << fixed << setprecision(15) << ans / (long double)2.0 <<   n ;     return 0;   }   