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

public class Main {

    public static void main(String[] args) throws IOException {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

    public static void main(String[] args) throws IOException {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    }
} Main public static void main(String[] args) throws IOException {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    } main {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    } final String SPACE = " "; SPACE " " BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String inputData[] = br.readLine().split(SPACE); inputData br.readLine().split(SPACE) br.readLine().split br.readLine() br.readLine br SPACE final int a = Integer.parseInt(inputData[0]); a Integer.parseInt(inputData[0]) Integer.parseInt Integer inputData[0] inputData 0 final int b = Integer.parseInt(inputData[1]); b Integer.parseInt(inputData[1]) Integer.parseInt Integer inputData[1] inputData 1 final int c = Integer.parseInt(inputData[2]); c Integer.parseInt(inputData[2]) Integer.parseInt Integer inputData[2] inputData 2 int cnt = 0; cnt 0 for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        } int i = 0; int i = 0; i 0 a + i <= b a + i a i b i++ i++ i {
            if (c % (a + i) == 0) {
                cnt++;
            }
        } {
            if (c % (a + i) == 0) {
                cnt++;
            }
        } if (c % (a + i) == 0) {
                cnt++;
            } c % (a + i) == 0 c % (a + i) c (a + i) a i 0 {
                cnt++;
            } cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {

    public static void main(String[] args) throws IOException {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    }
} public class Main {

    public static void main(String[] args) throws IOException {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        final String SPACE = " ";

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String inputData[] = br.readLine().split(SPACE);
        final int a = Integer.parseInt(inputData[0]);
        final int b = Integer.parseInt(inputData[1]);
        final int c = Integer.parseInt(inputData[2]);
        int cnt = 0;

        for (int i = 0; a + i <= b; i++) {
            if (c % (a + i) == 0) {
                cnt++;
            }
        }

        System.out.println(cnt);

    }
}