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