#include using namespace std; int main() { double a, b; cin >> a; b = 100-a; cout << (a+b)/a << endl << (a+b)/b << endl; return 0; }