#include <iostream>
using namespace std;
int main(){
    int a,b,c;
    
    cin >> a >> b >> c;
    for(int i = a; i<= b; i++){
        int x = 0;
        if (c % i == 0) {
            x += 1:
        
            
        }
        
    }
    cout << x << endl;
    return 0;
}
