#include using namespace std; using ll=long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin>>N; int ans=N; for(int i=1;i*i<=N;i++){ if(N%i==0){ --ans; if(i*i!=N)--ans; } } cout<