#include <bits/stdc++.h>
using namespace std;
int main() {
double b, n, s, h;
cin >> n;
s = n * n * 1.0;
h = n + (n - 1) + 4;
b = h * 1.0 / s * 100;
cout << fixed << setprecision(1) << b << "%";
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, a, b;
double c;
cin >> n;
a = n * 2 + 3;
b = n * n;
c = a * 1.0 / b;
c *= 100;
cout << fixed << setprecision(1) << c;
cout << "%";
return 0;
}