import java.util.*;
 
public class Main {
    private static final Scanner scn = new Scanner(System.in);
     
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    }
} import java.util.*; util.* java public class Main {
    private static final Scanner scn = new Scanner(System.in);
     
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    }
} Main private static final Scanner scn = new Scanner(System.in); scn new Scanner(System.in) public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    } main {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    } int a = scn.nextInt() a scn.nextInt() scn.nextInt scn b = scn.nextInt() b scn.nextInt() scn.nextInt scn c = scn.nextInt() c scn.nextInt() scn.nextInt scn x = 0; x 0 while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        } a <= b a b {
            if(c % a == 0) {
                x++;
            }
            a++;
        } if(c % a == 0) {
                x++;
            } c % a == 0 c % a c a 0 {
                x++;
            } x++ x a++ a System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {
    private static final Scanner scn = new Scanner(System.in);
     
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    }
} public class Main {
    private static final Scanner scn = new Scanner(System.in);
     
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    }
} Main
import java.util.*;
 
public class Main {
    private static final Scanner scn = new Scanner(System.in);
     
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt(), c = scn.nextInt(), x = 0;
        while(a <= b) {
            if(c % a == 0) {
                x++;
            }
            a++;
        }
        System.out.println(x);
    }
}