#include <cstdio>
#include <cstdlib>
//#include <cstring>
#include <cmath>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <map>
#include <list>
#include <queue>
#include <set>
using namespace std;

int main(){

	int a, b, c;
	cin >> a >> b >> c;
	int result = 0;
	for (int i = a; i <= b; i++){
		if (c%i == 0)result++;
	}

	cout << reslut << endl;
	return 0;
}