include[HTML_REMOVED] //新做法哟
include[HTML_REMOVED]
include[HTML_REMOVED]
include[HTML_REMOVED]
const int N=1010;
using namespace std;
int s[1001]={0};
int unique(int a[],int size){
for(int i=0;i[HTML_REMOVED]0) cnt++;
}
return cnt;
}
int main(){
int a[N];
int n,size;
cin>>n>>size;
for(int i=0;i[HTML_REMOVED]>a[i];
unique(a,size);
//cout<<unique(a,size)<<endl;
cout<<n-size+unique(a,size)<<endl;
return 0;
}