import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String blank = " "; blank " " String data[] = br.readLine().split(blank); data br.readLine().split(blank) br.readLine().split br.readLine() br.readLine br blank int a = Integer.parseInt(data[0]); a Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 int b = Integer.parseInt(data[1]); b Integer.parseInt(data[1]) Integer.parseInt Integer data[1] data 1 int c = Integer.parseInt(data[2]); c Integer.parseInt(data[2]) Integer.parseInt Integer data[2] data 2 int i = 0; i 0 for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        } int l = 0; int l = 0; l 0 a + l <= b a + l a l b l++ l++ l {
            if(c % (a + l) == 0){
                i++;
            }
        } {
            if(c % (a + l) == 0){
                i++;
            }
        } if(c % (a + l) == 0){
                i++;
            } c % (a + l) == 0 c % (a + l) c (a + l) a l 0 {
                i++;
            } i++ i System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String blank = " ";
        String data[] = br.readLine().split(blank);
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int c = Integer.parseInt(data[2]);
        
        int i = 0;
        for (int l = 0; a + l <= b; l++){
            if(c % (a + l) == 0){
                i++;
            }
        }
        System.out.println(i);
    }
}