#include using namespace std; int main() { int N; cin >> N; set SE; for (int i = 1; i <= N; i++) SE.insert(N / i); cout << SE.size() << "\n"; }