import std.stdio,std.conv,std.algorithm,std.array;

int[] 		raia()	{ return readln().split().map!(to!int).array; }		//read stdin as int[]

void main(){
	auto it = raia();
	int count;
	for(auto i=it[0];i<=it[1];i++)
		if(it[2]%i == 0) count++;
	writeln(count);
}