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