#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N,M; cin>>N>>M; vectorop(N); for(int i=0,t;i>t; op[t-1]=true; } int ans=0; for(int i=N;i>0;--i){ if(!op[i-1]){ ans+=1; continue; } for(int j=1;j*j<=i;j++){ if(i%j==0){ op[j-1]=1-op[j-1]; if(i/j!=j){ op[i/j-1]=1-op[i/j-1]; } } } } cout<