#include <stdio.h>
int main(void)
{
int a,b,c,s;
scanf("%d %d %d",&a
,&b
,&c
);
int i;
for(i=a+1;i<b;i++)
{
if((c%i)==0){
s++;
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKQp7CglpbnQgYSxiLGMsczsKCXNjYW5mKCIlZCAlZCAlZCIsJmEsJmIsJmMpOwoJCglpbnQgaTsKCWZvcihpPWErMTtpPGI7aSsrKQp7CglpZigoYyVpKT09MCl7CglzKys7Cn0KfQoJcHJpbnRmKCIlZFxuIixzKTsKCiAgICAgICByZXR1cm4gMDsKfQo=