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