/* No.903 太郎の確率 https://yukicoder.me/problems/no/903 */ #include using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); double n; cin >> n; cout << fixed; cout << setprecision(10) << (1 / n) << endl; }