import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int ans = 0;
        for (; a<=b; a++) {
            if(c%a==0) ++ans;
        }
        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util class Main {
    private static final Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int ans = 0;
        for (; a<=b; a++) {
            if(c%a==0) ++ans;
        }
        System.out.println(ans);
    }
} Main private static final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int ans = 0;
        for (; a<=b; a++) {
            if(c%a==0) ++ans;
        }
        System.out.println(ans);
    } main {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int ans = 0;
        for (; a<=b; a++) {
            if(c%a==0) ++ans;
        }
        System.out.println(ans);
    } int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int c = Integer.parseInt(sc.next()); c Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int ans = 0; ans 0 for (; a<=b; a++) {
            if(c%a==0) ++ans;
        } ; a<=b a b a++ a++ a {
            if(c%a==0) ++ans;
        } {
            if(c%a==0) ++ans;
        } if(c%a==0) ++ans; c%a==0 c%a c a 0 ++ans ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int ans = 0;
        for (; a<=b; a++) {
            if(c%a==0) ++ans;
        }
        System.out.println(ans);
    }
}