#include <bits/stdc++.h>
using namespace std;

int main(){
  inta, b, c,;
  cin>>a>>b>>C;

  int cnt = 0;
  for(int x = a; x <= b; x++){
    if(c % x == 0)cnt++;
  }

  cout<<cnt<<endl;

  return 0;

}

