#include <bits/stdc++.h>

using namespace std;

int main() {
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
int m,n,c;
int a[c];
 
string s;
cin>>n>>m;
cin>>s;
for(int i=0;i<n;i++){
	cin>>a[c];
}
cout<<n-1;

	return 0;
}

