#include<iostream> using namespace std; int main(){ int x,y,k,j; cin>>x>>y>>k; for(int i=x;i<=y;i++){ if(k%i==0) j++; } cout<<j; return 0; }