import java.io.*;
public class Main {
	
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	}
} import java.io.*; io.* java public class Main {
	
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int a a b b c; c int sum = 0; sum 0 String[] str = br.readLine().split("\\s+"); str br.readLine().split("\\s+") br.readLine().split br.readLine() br.readLine br "\\s+" if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		} str.length == 3 str.length str str.length 3 {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		} try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			} catch(Exception NumberFormatException) {
			} Exception NumberFormatException {
			} {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} a = Integer.parseInt(str[0]) a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 b = Integer.parseInt(str[1]) b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 c = Integer.parseInt(str[2]) c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				} int i = a; int i = a; i a i <= b i b i++ i++ i {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				} {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				} if (Math.floorMod(c, i) == 0) {
						sum++;
					} Math.floorMod(c, i) == 0 Math.floorMod(c, i) Math.floorMod Math c i 0 {
						sum++;
					} sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
	
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	}
} public class Main {
	
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	}
} Main
import java.io.*;
public class Main {
	
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a, b, c;
		int sum = 0;
		
		String[] str = br.readLine().split("\\s+");
		
		if (str.length == 3) {
			try {
				a = Integer.parseInt(str[0]);
				b = Integer.parseInt(str[1]);
				c = Integer.parseInt(str[2]);
				
				for (int i = a; i <= b; i++) {
					if (Math.floorMod(c, i) == 0) {
						sum++;
					}
				}
				
				System.out.println(sum);
				
			} catch(Exception NumberFormatException) {
			}
		}
	}
}