import java.io.*;
import java.util.Scanner;

class Main
{
	public static void main (String[] args) throws IOException
	{
  		Scanner in = new Scanner(System.in);
		String A = in.next();
		String B = in.next();
		String C = in.next();
		int a = Integer.parseInt(A);
		int b = Integer.parseInt(B);
		int c = Integer.parseInt(C);

		int count = 0;

		for(int i = a; i < b + 1; i++){
	      	if(c % i == 0){
	        	count++;
	      	}
    	}
    	
    	System.out.println(count);
	}
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util class Main
{
	public static void main (String[] args) throws IOException
	{
  		Scanner in = new Scanner(System.in);
		String A = in.next();
		String B = in.next();
		String C = in.next();
		int a = Integer.parseInt(A);
		int b = Integer.parseInt(B);
		int c = Integer.parseInt(C);

		int count = 0;

		for(int i = a; i < b + 1; i++){
	      	if(c % i == 0){
	        	count++;
	      	}
    	}
    	
    	System.out.println(count);
	}
} Main public static void main (String[] args) throws IOException
	{
  		Scanner in = new Scanner(System.in);
		String A = in.next();
		String B = in.next();
		String C = in.next();
		int a = Integer.parseInt(A);
		int b = Integer.parseInt(B);
		int c = Integer.parseInt(C);

		int count = 0;

		for(int i = a; i < b + 1; i++){
	      	if(c % i == 0){
	        	count++;
	      	}
    	}
    	
    	System.out.println(count);
	} main {
  		Scanner in = new Scanner(System.in);
		String A = in.next();
		String B = in.next();
		String C = in.next();
		int a = Integer.parseInt(A);
		int b = Integer.parseInt(B);
		int c = Integer.parseInt(C);

		int count = 0;

		for(int i = a; i < b + 1; i++){
	      	if(c % i == 0){
	        	count++;
	      	}
    	}
    	
    	System.out.println(count);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) String A = in.next(); A in.next() in.next in String B = in.next(); B in.next() in.next in String C = in.next(); C in.next() in.next in int a = Integer.parseInt(A); a Integer.parseInt(A) Integer.parseInt Integer A int b = Integer.parseInt(B); b Integer.parseInt(B) Integer.parseInt Integer B int c = Integer.parseInt(C); c Integer.parseInt(C) Integer.parseInt Integer C int count = 0; count 0 for(int i = a; i < b + 1; i++){
	      	if(c % i == 0){
	        	count++;
	      	}
    	} int i = a; int i = a; i a i < b + 1 i b + 1 b 1 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++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;
import java.util.Scanner;

class Main
{
	public static void main (String[] args) throws IOException
	{
  		Scanner in = new Scanner(System.in);
		String A = in.next();
		String B = in.next();
		String C = in.next();
		int a = Integer.parseInt(A);
		int b = Integer.parseInt(B);
		int c = Integer.parseInt(C);

		int count = 0;

		for(int i = a; i < b + 1; i++){
	      	if(c % i == 0){
	        	count++;
	      	}
    	}
    	
    	System.out.println(count);
	}
}