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

	public class Main {
		public static void main(String[] args) {
			BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


			    }catch(IOException e) {   System.out.println("Exception : " + 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 input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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

		}
	} Main public static void main(String[] args) {
			BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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

		} main {
			BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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

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


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


			    } String ab; ab String[] strAry; strAry int a; a int b; b int c; c int yaku; yaku int count=0; count 0 ab = input.readLine() ab input.readLine() input.readLine input strAry = ab.split(" ") strAry ab.split(" ") ab.split ab " " a=Integer.parseInt(strAry[0]) a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 b=Integer.parseInt(strAry[1]) b Integer.parseInt(strAry[1]) Integer.parseInt Integer strAry[1] strAry 1 c=Integer.parseInt(strAry[2]) c Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 for(int i=a; i<=b; i++){
					     yaku=c%i;
					     
					     if(yaku==0){
					    	count++;
					    	
					     }


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


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


				   } yaku=c%i yaku c%i c i if(yaku==0){
					    	count++;
					    	
					     } yaku==0 yaku 0 {
					    	count++;
					    	
					     } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
		public static void main(String[] args) {
			BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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

		}
	} public class Main {
		public static void main(String[] args) {
			BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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

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

	public class Main {
		public static void main(String[] args) {
			BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


			  try{


				  String ab;
				  String[] strAry;
				  int a;
				  int b;
				  int c;
				  int yaku;
				  int count=0;

			
				  ab = input.readLine();
			      strAry = ab.split(" ");
			      a=Integer.parseInt(strAry[0]);
		          b=Integer.parseInt(strAry[1]);
		          c=Integer.parseInt(strAry[2]);

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


				   }
				  System.out.println(count);


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

		}
	}