#include using namespace std; int main() { int n; cin >> n; cout << (fixed) << ((10000-n)*0.01)/((10000-n)*0.01+(n)*0.99)*100 << endl; return 0; }