#include using namespace std; int main(){ int n; cin >> n; cout << ((1000000 - 100.0 * n) / 100) / (99 * n + (1000000 - 100.0 * n) / 100) << endl; }