#include using namespace std; using ll = long long; int a[100005]; int main(){ int n; cin >> n; int ans = 0; for(int i = 1; i <= n; i++) a[n/i]++; for(int i = 1; i <= n; i++){ if(a[i]>0) ans++; } cout << ans << endl; return 0; }