import java.util.Scanner;

class Main{
        public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                int count=0;
                for(int i=val1;i<=val2;i++){
                        if(val3%i==0){
                                count++;
                        }
                }
                System.out.println(count);
        }
} import java.util.Scanner; Scanner java.util class Main{
        public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                int count=0;
                for(int i=val1;i<=val2;i++){
                        if(val3%i==0){
                                count++;
                        }
                }
                System.out.println(count);
        }
} Main public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                int count=0;
                for(int i=val1;i<=val2;i++){
                        if(val3%i==0){
                                count++;
                        }
                }
                System.out.println(count);
        } main {
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                int count=0;
                for(int i=val1;i<=val2;i++){
                        if(val3%i==0){
                                count++;
                        }
                }
                System.out.println(count);
        } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int val1=scan.nextInt(); val1 scan.nextInt() scan.nextInt scan int val2=scan.nextInt(); val2 scan.nextInt() scan.nextInt scan int val3=scan.nextInt(); val3 scan.nextInt() scan.nextInt scan int count=0; count 0 for(int i=val1;i<=val2;i++){
                        if(val3%i==0){
                                count++;
                        }
                } int i=val1; int i=val1; i val1 i<=val2 i val2 i++ i++ i {
                        if(val3%i==0){
                                count++;
                        }
                } {
                        if(val3%i==0){
                                count++;
                        }
                } if(val3%i==0){
                                count++;
                        } val3%i==0 val3%i val3 i 0 {
                                count++;
                        } count++ count System.out.println(count) System.out.println System.out System System.out count String args[] args
import java.util.Scanner;

class Main{
        public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                int count=0;
                for(int i=val1;i<=val2;i++){
                        if(val3%i==0){
                                count++;
                        }
                }
                System.out.println(count);
        }
}