#include<iostream>
using namespace std;

int main(){
    int a,b,c;
    cin >> a >> b >> c;
    cou = 0;
    for (int i=a; i<=b;i++){
        if (c%i==0){
            cou +=1;
        }
    }
    cout <<cou<<endl;
    
}
