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