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