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