import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String input1 = input.nextLine();
        String[] str = input1.split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int count = 0;
        for(int i=a; i<=b; i++){
            if(c%i == 0){
                count = count + 1;
            }
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String input1 = input.nextLine();
        String[] str = input1.split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int count = 0;
        for(int i=a; i<=b; i++){
            if(c%i == 0){
                count = count + 1;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String input1 = input.nextLine();
        String[] str = input1.split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int count = 0;
        for(int i=a; i<=b; i++){
            if(c%i == 0){
                count = count + 1;
            }
        }
        System.out.println(count);
    } main {
        Scanner input = new Scanner(System.in);
        String input1 = input.nextLine();
        String[] str = input1.split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int count = 0;
        for(int i=a; i<=b; i++){
            if(c%i == 0){
                count = count + 1;
            }
        }
        System.out.println(count);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) String input1 = input.nextLine(); input1 input.nextLine() input.nextLine input String[] str = input1.split(" "); str input1.split(" ") input1.split input1 " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[1]); b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int c = Integer.parseInt(str[2]); c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 int count = 0; count 0 for(int i=a; i<=b; i++){
            if(c%i == 0){
                count = count + 1;
            }
        } int i=a; int i=a; i a i<=b i b i++ i++ i {
            if(c%i == 0){
                count = count + 1;
            }
        } {
            if(c%i == 0){
                count = count + 1;
            }
        } if(c%i == 0){
                count = count + 1;
            } c%i == 0 c%i c i 0 {
                count = count + 1;
            } count = count + 1 count count + 1 count 1 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 input = new Scanner(System.in);
        String input1 = input.nextLine();
        String[] str = input1.split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int count = 0;
        for(int i=a; i<=b; i++){
            if(c%i == 0){
                count = count + 1;
            }
        }
        System.out.println(count);
    }
}
