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