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

public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	}
} 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 NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	}
} Main public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int a a b b c c i=0; i 0 String[] spl = br.readLine().split(" "); spl br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(spl[0]) a Integer.parseInt(spl[0]) Integer.parseInt Integer spl[0] spl 0 b = Integer.parseInt(spl[1]) b Integer.parseInt(spl[1]) Integer.parseInt Integer spl[1] spl 1 c = Integer.parseInt(spl[2]) c Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 for (int j = a; j <=b; j++) {

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

			if(c%j==0)i++;
		} {

			if(c%j==0)i++;
		} if(c%j==0)i++; c%j==0 c%j c j 0 i++ i System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	}
} public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b,c,i=0;

		String[] spl = br.readLine().split(" ");
		a = Integer.parseInt(spl[0]);
		b = Integer.parseInt(spl[1]);
		c = Integer.parseInt(spl[2]);
		for (int j = a; j <=b; j++) {

			if(c%j==0)i++;
		}

		System.out.println(i);
	}
}