#include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; int main() { ll n; cin >> n; vector a(n); cout << fixed << setprecision(8); cout << ((1) ? 1 : (double) (n+1)/3) << endl; }