#include #define all(v) v.begin(), v.end() #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define vec_input(v) for(auto it=v.begin();it!=v.end();it++){cin>>*it;} #define vec_debug(v) for(auto it=v.begin();it!=v.end();it++){cerr<<*it<<" ";}cerr<T digitsum(T n); template bool isPrime(T n); template vector> prime_factor(T n); long long int intpow(long long int,long long int); template T intlog(T); long long int combination(long long int,long long int); long long int series_sum(long long int); int main(){ double p; cin>>p; //0.5=p*n; double ans=p/(1-p); printf("%.8lf\n",ans); }