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