
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int a=kb.nextInt(),b=kb.nextInt(),c=kb.nextInt();
int countc=0;

for(int i=a;i<=b;i++){
	if(c%i==0){
		countc++;
	}
}
System.out.println(countc);
	}

}