#include<stdio.h>
int main(){
    int a, b, c;
    int count = 0;
    int i;
    scanf("%d %d %d", &a, &b, &c);
    for(i=a; i<=b; i++){
        if(c%i == 0){
            count += 1:
        }
    }
    printf("%d\n",count);
    return 0;
}