#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  int b = 0;
  int c = 0;
  int e = 0;
  cin >> a, b, c;
  for (int i = a; i <= b; i++) {
    if (c % i == 0) {
      e++;
    }
  }
  cout << e << endl;
  return 0;
}
