import java.io.*;
import java.util.Scanner;
import java.util.Arrays;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        int c = ReadInt();
        int res = 0;
        for(int i = a; i <= b; ++i) {
            if( c % i == 0 ) res += 1;
        }
        System.out.println(res);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        int c = ReadInt();
        int res = 0;
        for(int i = a; i <= b; ++i) {
            if( c % i == 0 ) res += 1;
        }
        System.out.println(res);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        int c = ReadInt();
        int res = 0;
        for(int i = a; i <= b; ++i) {
            if( c % i == 0 ) res += 1;
        }
        System.out.println(res);
    } main {
        int a = ReadInt();
        int b = ReadInt();
        int c = ReadInt();
        int res = 0;
        for(int i = a; i <= b; ++i) {
            if( c % i == 0 ) res += 1;
        }
        System.out.println(res);
    } int a = ReadInt(); a ReadInt() ReadInt int b = ReadInt(); b ReadInt() ReadInt int c = ReadInt(); c ReadInt() ReadInt int res = 0; res 0 for(int i = a; i <= b; ++i) {
            if( c % i == 0 ) res += 1;
        } int i = a; int i = a; i a i <= b i b ++i ++i i {
            if( c % i == 0 ) res += 1;
        } {
            if( c % i == 0 ) res += 1;
        } if( c % i == 0 ) res += 1; c % i == 0 c % i c i 0 res += 1 res 1 System.out.println(res) System.out.println System.out System System.out res String[] args args static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    } ReadInt {
        return Integer.parseInt(sc.next());
    } return Integer.parseInt(sc.next()); Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc
import java.io.*;
import java.util.Scanner;
import java.util.Arrays;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        int c = ReadInt();
        int res = 0;
        for(int i = a; i <= b; ++i) {
            if( c % i == 0 ) res += 1;
        }
        System.out.println(res);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
}