#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, tmp;
  int count = 0;
  cin >> a >> b >> c;
  tmp = a;
  while (tmp != b) {
    if (c % tmp == 0) count++;
    tmp++;
  }
  cout << ((c % a == 0) ? count + 1 : count) << endl;
}
