import java.io.*;

class Main{
 public static void main(String[] args)throws IOException{
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i=0;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   }
  System.out.println(i); 
 }
} import java.io.*; io.* java class Main{
 public static void main(String[] args)throws IOException{
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i=0;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   }
  System.out.println(i); 
 }
} Main public static void main(String[] args)throws IOException{
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i=0;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   }
  System.out.println(i); 
 } main {
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i=0;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   }
  System.out.println(i); 
 } int a a b b c c i i ans; ans BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String[] strAry = str.split(" "); strAry str.split(" ") str.split str " " a = Integer.parseInt(strAry[0]) a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 b = Integer.parseInt(strAry[1]) b Integer.parseInt(strAry[1]) Integer.parseInt Integer strAry[1] strAry 1 c = Integer.parseInt(strAry[2]) c Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 i=0 i 0 for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   } ans=a; ans=a ans a ans<=b ans b ans++ ans++ ans {
     if(c%ans==0){i++;} 

   } {
     if(c%ans==0){i++;} 

   } if(c%ans==0){i++;} c%ans==0 c%ans c ans 0 {i++;} i++ i System.out.println(i) System.out.println System.out System System.out i String[] args args
import java.io.*;

class Main{
 public static void main(String[] args)throws IOException{
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i=0;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   }
  System.out.println(i); 
 }
}