#include <stdio.h>

using namespace std;

int main(void)
{
    int a, b, c, cnt = 0;
    
    cin >> a
        >> b
        >> c;
    while (a <= b) {
        if (c % a == 0) {
            ++cnt;
        }
        ++a;
    }
    cout << cnt << end;
    
    return 0;
}
