#include<cstdio>
#include<cmath>
#include<algorithm>
#include<iostream>
#include<string>
#include<vector>
#include<map>
#include<cstdlib>
#include<iomanip>
#include<queue>
#include<set>
#include <valarray>
#include<stack>
#include<sstream>

using namespace std;

void Solution()
{
    int a, b, c;
    
    int n = 0;
    
    cin>>a>>b>>c;
    
    for (a; a <= b; a++)
    {
        if (c % a == 0)
        {
            n++;
        }
    }
    
    cout<<n<<endl;
    
}

int main()
{
    Solution();
    return 0;
}