import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br String[] line_ = line.split(" "); line_ line.split(" ") line.split line " " Integer i1 = Integer.valueOf(line_[0]); i1 Integer.valueOf(line_[0]) Integer.valueOf Integer line_[0] line_ 0 Integer i2 = Integer.valueOf(line_[1]); i2 Integer.valueOf(line_[1]) Integer.valueOf Integer line_[1] line_ 1 Integer i3 = Integer.valueOf(line_[2]); i3 Integer.valueOf(line_[2]) Integer.valueOf Integer line_[2] line_ 2 int counter = 0; counter 0 for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        } int a = i1 ; int a = i1 ; a i1 a <= i2 a i2 a++ a++ a {
            if(i3 % a == 0)
            counter++;
        } {
            if(i3 % a == 0)
            counter++;
        } if(i3 % a == 0)
            counter++; i3 % a == 0 i3 % a i3 a 0 counter++ counter System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] line_ = line.split(" ");
        Integer i1 = Integer.valueOf(line_[0]);
        Integer i2 = Integer.valueOf(line_[1]);
        Integer i3 = Integer.valueOf(line_[2]);
        int counter = 0;
        for(int a = i1 ; a <= i2 ; a++ ) {
            if(i3 % a == 0)
            counter++;
        }
        System.out.println(counter);
    }
}