import java.util.Scanner;
class Main{   
 public void yatary() {  
      Scanner sc = new Scanner(System.in); 
        int a; 
        int b;
        int c;
        int i;
        int x;
        int y=0;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
     for(i=a;i<=b;i++){
         x = c%i;
         if(x==0){
             y++;
     }
     }
     System.out.println(y);
     }
public static void main(String[] args){ 
    new Main().yatary();    
}
}  import java.util.Scanner; Scanner java.util class Main{   
 public void yatary() {  
      Scanner sc = new Scanner(System.in); 
        int a; 
        int b;
        int c;
        int i;
        int x;
        int y=0;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
     for(i=a;i<=b;i++){
         x = c%i;
         if(x==0){
             y++;
     }
     }
     System.out.println(y);
     }
public static void main(String[] args){ 
    new Main().yatary();    
}
} Main public void yatary() {  
      Scanner sc = new Scanner(System.in); 
        int a; 
        int b;
        int c;
        int i;
        int x;
        int y=0;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
     for(i=a;i<=b;i++){
         x = c%i;
         if(x==0){
             y++;
     }
     }
     System.out.println(y);
     } yatary {  
      Scanner sc = new Scanner(System.in); 
        int a; 
        int b;
        int c;
        int i;
        int x;
        int y=0;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
     for(i=a;i<=b;i++){
         x = c%i;
         if(x==0){
             y++;
     }
     }
     System.out.println(y);
     } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a; a int b; b int c; c int i; i int x; x int y=0; y 0 a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc for(i=a;i<=b;i++){
         x = c%i;
         if(x==0){
             y++;
     }
     } i=a; i=a i a i<=b i b i++ i++ i {
         x = c%i;
         if(x==0){
             y++;
     }
     } {
         x = c%i;
         if(x==0){
             y++;
     }
     } x = c%i x c%i c i if(x==0){
             y++;
     } x==0 x 0 {
             y++;
     } y++ y System.out.println(y) System.out.println System.out System System.out y public static void main(String[] args){ 
    new Main().yatary();    
} main { 
    new Main().yatary();    
} new Main().yatary() new Main().yatary new Main() String[] args args
import java.util.Scanner;
class Main{   
 public void yatary() {  
      Scanner sc = new Scanner(System.in); 
        int a; 
        int b;
        int c;
        int i;
        int x;
        int y=0;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
     for(i=a;i<=b;i++){
         x = c%i;
         if(x==0){
             y++;
     }
     }
     System.out.println(y);
     }
public static void main(String[] args){ 
    new Main().yatary();    
}
} 