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

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

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

		System.out.println(divisor);
	}
} 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){
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] str=new String[3];
		int a,b,c;
		int divisor=0;

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

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

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

		System.out.println(divisor);
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] str=new String[3];
		int a,b,c;
		int divisor=0;

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

		System.out.println(divisor);
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] str=new String[3]; str new String[3] 3 int a a b b c; c int divisor=0; divisor 0 try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		} catch(IOException e){
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		} str=br.readLine().split(" ") str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a=Integer.parseInt(str[0]) a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 b=Integer.parseInt(str[1]) b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 c=Integer.parseInt(str[2]) c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			} int i=a; int i=a; i a i<=b i b i++ i++ i {
				if(c%i==0)divisor++;
			} {
				if(c%i==0)divisor++;
			} if(c%i==0)divisor++; c%i==0 c%i c i 0 divisor++ divisor System.out.println(divisor) System.out.println System.out System System.out divisor String[] args args public class Main {
	public static void main(String[] args){
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] str=new String[3];
		int a,b,c;
		int divisor=0;

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

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

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

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

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

		try{
			str=br.readLine().split(" ");
			a=Integer.parseInt(str[0]);
			b=Integer.parseInt(str[1]);
			c=Integer.parseInt(str[2]);

			for(int i=a;i<=b;i++){
				if(c%i==0)divisor++;
			}
		}catch(IOException e){
			e.printStackTrace();
		}

		System.out.println(divisor);
	}
}