import java.io.*;

public class Main{
public static void main(String[] args){
try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int a = Integer.parseInt(str[0]);
	int b = Integer.parseInt(str[1]);
	int c = Integer.parseInt(str[2]);

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

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

	int count = 0;
	for(int i = a; i <=b ; i++){
		if (c % i == 0){
		count++;
		}
	}
System.out.println(count);
}catch(IOException e){
System.out.println(e);
}
} main {
try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int a = Integer.parseInt(str[0]);
	int b = Integer.parseInt(str[1]);
	int c = Integer.parseInt(str[2]);

	int count = 0;
	for(int i = a; i <=b ; i++){
		if (c % i == 0){
		count++;
		}
	}
System.out.println(count);
}catch(IOException e){
System.out.println(e);
}
} try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int a = Integer.parseInt(str[0]);
	int b = Integer.parseInt(str[1]);
	int c = Integer.parseInt(str[2]);

	int count = 0;
	for(int i = a; i <=b ; i++){
		if (c % i == 0){
		count++;
		}
	}
System.out.println(count);
}catch(IOException e){
System.out.println(e);
} catch(IOException e){
System.out.println(e);
} IOException e {
System.out.println(e);
} System.out.println(e) System.out.println System.out System System.out e {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int a = Integer.parseInt(str[0]);
	int b = Integer.parseInt(str[1]);
	int c = Integer.parseInt(str[2]);

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

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

	int count = 0;
	for(int i = a; i <=b ; i++){
		if (c % i == 0){
		count++;
		}
	}
System.out.println(count);
}catch(IOException e){
System.out.println(e);
}
}
} Main
import java.io.*;

public class Main{
public static void main(String[] args){
try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int a = Integer.parseInt(str[0]);
	int b = Integer.parseInt(str[1]);
	int c = Integer.parseInt(str[2]);

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