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

public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException 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){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

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

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	} main {

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	} BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		} catch(IOException e){
			System.out.println("??¨??????:"+e);

		} IOException e {
			System.out.println("??¨??????:"+e);

		} System.out.println("??¨??????:"+e) System.out.println System.out System System.out "??¨??????:"+e "??¨??????:" e {

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		} String str=reader.readLine(); str reader.readLine() reader.readLine reader String[] str_Array=str.split(" "); str_Array str.split(" ") str.split str " " int a=Integer.parseInt(str_Array[0]); a Integer.parseInt(str_Array[0]) Integer.parseInt Integer str_Array[0] str_Array 0 int b=Integer.parseInt(str_Array[1]); b Integer.parseInt(str_Array[1]) Integer.parseInt Integer str_Array[1] str_Array 1 int c=Integer.parseInt(str_Array[2]); c Integer.parseInt(str_Array[2]) Integer.parseInt Integer str_Array[2] str_Array 2 int count=0; count 0 for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			} int i=a; int i=a; i a i<=b i b i++ i++ i {
				if(c%i==0)count++;
			} {
				if(c%i==0)count++;
			} if(c%i==0)count++; c%i==0 c%i c i 0 count++ count System.out.println(count) System.out.println System.out System System.out count reader.close() reader.close reader String[] args args public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

} public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException 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){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			String str=reader.readLine();
			String[] str_Array=str.split(" ");

			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[1]);
			int c=Integer.parseInt(str_Array[2]);
			int count=0;
			for(int i=a;i<=b;i++){
				if(c%i==0)count++;
			}
			System.out.println(count);
			reader.close();


		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

}