#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int a, b, c, count = 0;
  cin >> a >> b >> c;
  for (; a <= b; a++) {
    if (c % a == 0) count++;
  }
  cout << count;
  return 0;
}
