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

class Main {

	public static void main(String[] args) {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } catch (IOException e) {
            e.printStackTrace();
        }


	}

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

	public static void main(String[] args) {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } catch (IOException e) {
            e.printStackTrace();
        }


	}

} Main public static void main(String[] args) {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } catch (IOException e) {
            e.printStackTrace();
        }


	} main {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } catch (IOException e) {
            e.printStackTrace();
        }


	} try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } catch (IOException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String inputData; inputData inputData = reader.readLine() inputData reader.readLine() reader.readLine reader String[] strNumber = inputData.split(" "); strNumber inputData.split(" ") inputData.split inputData " " int aa = Integer.parseInt(strNumber[0]); aa Integer.parseInt(strNumber[0]) Integer.parseInt Integer strNumber[0] strNumber 0 int bb = Integer.parseInt(strNumber[1]); bb Integer.parseInt(strNumber[1]) Integer.parseInt Integer strNumber[1] strNumber 1 int cc = Integer.parseInt(strNumber[2]); cc Integer.parseInt(strNumber[2]) Integer.parseInt Integer strNumber[2] strNumber 2 int count = 0; count 0 for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			} int i = aa ; int i = aa ; i aa i < bb + 1 i bb + 1 bb 1 i++ i++ i {
				if(cc % i == 0){
					count++;
				}
			} {
				if(cc % i == 0){
					count++;
				}
			} if(cc % i == 0){
					count++;
				} cc % i == 0 cc % i cc 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.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i = aa ; i < bb + 1 ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.println(count);

        } catch (IOException e) {
            e.printStackTrace();
        }


	}

}