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