#include int main(void) { int x; scanf("%d", &x); printf("%d\n",x-1 ); return 0; }