import java.io.*;

class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String input = br.readLine();
		String[] cut = input.split(" ");
		int a =Integer.parseInt(cut[0]);
		int b =Integer.parseInt(cut[1]);
		int c =Integer.parseInt(cut[2]);
		int count=0;
	 for(int x = a;x <= b; x++ ){
		 if(c%x==0){
			 count++;
		 }
	 }
	 System.out.println(count);
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String input = br.readLine();
		String[] cut = input.split(" ");
		int a =Integer.parseInt(cut[0]);
		int b =Integer.parseInt(cut[1]);
		int c =Integer.parseInt(cut[2]);
		int count=0;
	 for(int x = a;x <= b; x++ ){
		 if(c%x==0){
			 count++;
		 }
	 }
	 System.out.println(count);
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String input = br.readLine();
		String[] cut = input.split(" ");
		int a =Integer.parseInt(cut[0]);
		int b =Integer.parseInt(cut[1]);
		int c =Integer.parseInt(cut[2]);
		int count=0;
	 for(int x = a;x <= b; x++ ){
		 if(c%x==0){
			 count++;
		 }
	 }
	 System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String input = br.readLine();
		String[] cut = input.split(" ");
		int a =Integer.parseInt(cut[0]);
		int b =Integer.parseInt(cut[1]);
		int c =Integer.parseInt(cut[2]);
		int count=0;
	 for(int x = a;x <= b; x++ ){
		 if(c%x==0){
			 count++;
		 }
	 }
	 System.out.println(count);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String input = br.readLine(); input br.readLine() br.readLine br String[] cut = input.split(" "); cut input.split(" ") input.split input " " int a =Integer.parseInt(cut[0]); a Integer.parseInt(cut[0]) Integer.parseInt Integer cut[0] cut 0 int b =Integer.parseInt(cut[1]); b Integer.parseInt(cut[1]) Integer.parseInt Integer cut[1] cut 1 int c =Integer.parseInt(cut[2]); c Integer.parseInt(cut[2]) Integer.parseInt Integer cut[2] cut 2 int count=0; count 0 for(int x = a;x <= b; x++ ){
		 if(c%x==0){
			 count++;
		 }
	 } int x = a; int x = a; x a x <= b x b x++ x++ x {
		 if(c%x==0){
			 count++;
		 }
	 } {
		 if(c%x==0){
			 count++;
		 }
	 } if(c%x==0){
			 count++;
		 } c%x==0 c%x c x 0 {
			 count++;
		 } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;

class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String input = br.readLine();
		String[] cut = input.split(" ");
		int a =Integer.parseInt(cut[0]);
		int b =Integer.parseInt(cut[1]);
		int c =Integer.parseInt(cut[2]);
		int count=0;
	 for(int x = a;x <= b; x++ ){
		 if(c%x==0){
			 count++;
		 }
	 }
	 System.out.println(count);
	}
}