#include <iostream.h>

int main()
{
	int a, b, c, n=0;

	cout << "a???b?????????c????´???°????????°????±??????????" << endl
		 << "a b c??¨??????????????§????????£?????\?????????????????????" << endl;

	cin >> a >> b >> c;
	
	do {
		( c % a++ ) || n++;
 	} while (a <= b);
	
	cout << n << endl;

	return 0;
}