import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
 
class Main{
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        if (a > b) {
           throw new RuntimeException("error:You must write a<=b");
        }
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        }
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io class Main{
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        if (a > b) {
           throw new RuntimeException("error:You must write a<=b");
        }
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        }
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        if (a > b) {
           throw new RuntimeException("error:You must write a<=b");
        }
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        }
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    } main {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        if (a > b) {
           throw new RuntimeException("error:You must write a<=b");
        }
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        }
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) int a a b b c; c int count = 0; count 0 String[] num = in.readLine().split(" "); num in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " a = Integer.parseInt(num[0]) a Integer.parseInt(num[0]) Integer.parseInt Integer num[0] num 0 b = Integer.parseInt(num[1]) b Integer.parseInt(num[1]) Integer.parseInt Integer num[1] num 1 c = Integer.parseInt(num[2]) c Integer.parseInt(num[2]) Integer.parseInt Integer num[2] num 2 if (a > b) {
           throw new RuntimeException("error:You must write a<=b");
        } a > b a b {
           throw new RuntimeException("error:You must write a<=b");
        } throw new RuntimeException("error:You must write a<=b"); new RuntimeException("error:You must write a<=b") if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        } a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c c < 1 10000 < b b < 1 a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c a < 1 a 1 10000 < a 10000 a b < 1 b 1 10000 < b 10000 b c < 1 c 1 10000 < c 10000 c {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        } throw new RuntimeException("error:You must write 1<=a,b,c<=10000"); new RuntimeException("error:You must write 1<=a,b,c<=10000") for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        } int i = a; int i = a; i a i <= b i b i += 1 i += 1 i 1 {
            if (c % i == 0) {
                count++;
            }
        } {
            if (c % i == 0) {
                count++;
            }
        } if (c % i == 0) {
                count++;
            } c % i == 0 c % i c i 0 {
                count++;
            } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
 
class Main{
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        if (a > b) {
           throw new RuntimeException("error:You must write a<=b");
        }
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        }
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
}