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

public class Main {
	public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	}
} 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) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	}
} Main public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	} main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb=new StringBuilder(); sb new StringBuilder() String items[]=reader.readLine().split(" "); items reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a=Integer.parseInt(items[0]); a Integer.parseInt(items[0]) Integer.parseInt Integer items[0] items 0 int b=Integer.parseInt(items[1]); b Integer.parseInt(items[1]) Integer.parseInt Integer items[1] items 1 int c=Integer.parseInt(items[2]); c Integer.parseInt(items[2]) Integer.parseInt Integer items[2] items 2 int counter=0; counter 0 for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        } int i=a; int i=a; i a i<=b i b i++ i++ i {
        	if(c%i==0){
        		counter++;
        	}
        } {
        	if(c%i==0){
        		counter++;
        	}
        } if(c%i==0){
        		counter++;
        	} c%i==0 c%i c i 0 {
        		counter++;
        	} counter++ counter System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {
	public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
    	String items[]=reader.readLine().split(" ");
    	int a=Integer.parseInt(items[0]);
    	int b=Integer.parseInt(items[1]);
    	int c=Integer.parseInt(items[2]);
    	int counter=0;
        for(int i=a;i<=b;i++){
        	if(c%i==0){
        		counter++;
        	}
        }
        System.out.println(counter);
	}
}