#include<iostream>
int main() {
	int a, b, c;
	int j = 0;
	std::cin >> a >> b >> c;
	for (int i = 1; i =< c; i++) {
		if (c%i == 0) {
			if (a <= i&&i <= b) {
				j += 1;
			}
		}
	}
	std::cout << j << std::endl;
	system("pause");
}