#include <iostream> using namespace std; int main() { int x, n ,i ,j; cin >> x; i = 1; j = 1; n = 0; while (i <= x) { if (x % i == 0) n++; i++; } cout << n; return 0; }