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