import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    }
} Main public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    } main {
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int c=sc.nextInt(); c sc.nextInt() sc.nextInt sc int count=0; count 0 for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        } int x=a; int x=a; x a x<=b x b x++ x++ x {
            if((c % x)== 0)count++;
            
        } {
            if((c % x)== 0)count++;
            
        } if((c % x)== 0)count++; (c % x)== 0 (c % x) c x 0 count++ count System.out.printf("%d\n",count) System.out.printf System.out System System.out "%d\n" count String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();
        int count=0;
        for(int x=a; x<=b;x++){
            if((c % x)== 0)count++;
            
        }
        System.out.printf("%d\n",count);
    }
}
