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