#include int main(void) { double p; scanf("%lf", &p); printf("%d", 1 / (1 - p) - 1); }