import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    } main {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] lines = sc.nextLine().split(" "); lines sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int num1 = Integer.parseInt(lines[0]); num1 Integer.parseInt(lines[0]) Integer.parseInt Integer lines[0] lines 0 int num2 = Integer.parseInt(lines[1]); num2 Integer.parseInt(lines[1]) Integer.parseInt Integer lines[1] lines 1 int num3 = Integer.parseInt(lines[2]); num3 Integer.parseInt(lines[2]) Integer.parseInt Integer lines[2] lines 2 int count = 0; count 0 for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        } int i = num1; int i = num1; i num1 i <= num2 i num2 i++ i++ i {
        	if(num3 % i == 0) {
        		count++;
        	}
        } {
        	if(num3 % i == 0) {
        		count++;
        	}
        } if(num3 % i == 0) {
        		count++;
        	} num3 % i == 0 num3 % i num3 i 0 {
        		count++;
        	} count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        
        int count = 0;
        
        for(int i = num1; i <= num2;i++) {
        	if(num3 % i == 0) {
        		count++;
        	}
        }
        
        System.out.println(count);

    }
}