#include using namespace std; int main(int argc, char **argv) { int N; //頂点の個数 scanf("%d",&N); //入力 printf("%d\n",N-1); //出力 return 0; }