import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    }

    private static void comp(int a,int b, int c) {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    }

    private static void comp(int a,int b, int c) {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    }
} Main private static Scanner scan; scan public static void main(String[] args) {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    } main {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    } scan = new Scanner(System.in) scan new Scanner(System.in) comp(scan.nextInt(), scan.nextInt(), scan.nextInt()) comp scan.nextInt() scan.nextInt scan scan.nextInt() scan.nextInt scan scan.nextInt() scan.nextInt scan String[] args args private static void comp(int a,int b, int c) {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    } comp {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    } int cnt = 0; cnt 0 for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        } int i = a; int i = a; i a i <= b i b i++ i++ i {
            if (c % i == 0) {
                cnt ++;
            }
        } {
            if (c % i == 0) {
                cnt ++;
            }
        } if (c % i == 0) {
                cnt ++;
            } c % i == 0 c % i c i 0 {
                cnt ++;
            } cnt ++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt int a a int b b int c c public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    }

    private static void comp(int a,int b, int c) {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    }
} public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    }

    private static void comp(int a,int b, int c) {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    }
} Main
import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        comp(scan.nextInt(), scan.nextInt(), scan.nextInt());
    }

    private static void comp(int a,int b, int c) {
        int cnt = 0;
        for (int i = a; i <= b; i++) {
            if (c % i == 0) {
                cnt ++;
            }
        }
        System.out.println(cnt);
    }
}