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

public class Main {

	public static void main(String[] args){

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	}
} 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){

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	}
} Main public static void main(String[] args){

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	} main {

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	} String str = null; str null BufferedReader br = null; br null br = new BufferedReader(new InputStreamReader(System.in)) br new BufferedReader(new InputStreamReader(System.in)) String[] str1; str1 int a a b b c; c try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} IOException e {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			str = br.readLine();
		} str = br.readLine() str br.readLine() br.readLine br boolean d = true; d true str1 = str.split(" ") str1 str.split(" ") str.split str " " a = Integer.parseInt(str1[0]) a Integer.parseInt(str1[0]) Integer.parseInt Integer str1[0] str1 0 b = Integer.parseInt(str1[1]) b Integer.parseInt(str1[1]) Integer.parseInt Integer str1[1] str1 1 c = Integer.parseInt(str1[2]) c Integer.parseInt(str1[2]) Integer.parseInt Integer str1[2] str1 2 int e = 0; e 0 for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		} int i=a; int i=a; i a i<=b i b i++ i++ i {
			
			if(c%i==0){
				e++;
				
			}
			
			
		} {
			
			if(c%i==0){
				e++;
				
			}
			
			
		} if(c%i==0){
				e++;
				
			} c%i==0 c%i c i 0 {
				e++;
				
			} e++ e System.out.println(e) System.out.println System.out System System.out e String[] args args public class Main {

	public static void main(String[] args){

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	}
} public class Main {

	public static void main(String[] args){

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args){

		String str = null;
		BufferedReader br = null;
		br = new BufferedReader(new InputStreamReader(System.in));
		
		
		String[] str1;
		int a,b,c;

		try {
			str = br.readLine();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}
		
		boolean d = true;
		str1 = str.split(" ");
		a = Integer.parseInt(str1[0]);
		b = Integer.parseInt(str1[1]);
		c = Integer.parseInt(str1[2]);
		int e = 0;
		for(int i=a;i<=b;i++){
			
			if(c%i==0){
				e++;
				
			}
			
			
		}
		System.out.println(e);
	}
}