#include using namespace std; const double EPS = 1e-9; int main() { int n; cin >> n; set count; for (int i = 1; i <= n; i++) { count.insert(n / i); } cout << count.size() << '\n'; return 0; }