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