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