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


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

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		int a = Integer.parseInt(ss[0]);
		int b = Integer.parseInt(ss[1]);
		int c = Integer.parseInt(ss[2]);
		int z = 0;
		for(int i = a;i < b+1 ; i++){
			if(c%i == 0){
				z++;
			}
		}
		System.out.println(z);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		int a = Integer.parseInt(ss[0]);
		int b = Integer.parseInt(ss[1]);
		int c = Integer.parseInt(ss[2]);
		int z = 0;
		for(int i = a;i < b+1 ; i++){
			if(c%i == 0){
				z++;
			}
		}
		System.out.println(z);
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		int a = Integer.parseInt(ss[0]);
		int b = Integer.parseInt(ss[1]);
		int c = Integer.parseInt(ss[2]);
		int z = 0;
		for(int i = a;i < b+1 ; i++){
			if(c%i == 0){
				z++;
			}
		}
		System.out.println(z);
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String s = new String(in.readLine()); s new String(in.readLine()) String[] ss = s.split(" "); ss s.split(" ") s.split s " " int a = Integer.parseInt(ss[0]); a Integer.parseInt(ss[0]) Integer.parseInt Integer ss[0] ss 0 int b = Integer.parseInt(ss[1]); b Integer.parseInt(ss[1]) Integer.parseInt Integer ss[1] ss 1 int c = Integer.parseInt(ss[2]); c Integer.parseInt(ss[2]) Integer.parseInt Integer ss[2] ss 2 int z = 0; z 0 for(int i = a;i < b+1 ; i++){
			if(c%i == 0){
				z++;
			}
		} int i = a; int i = a; i a i < b+1 i b+1 b 1 i++ i++ i {
			if(c%i == 0){
				z++;
			}
		} {
			if(c%i == 0){
				z++;
			}
		} if(c%i == 0){
				z++;
			} c%i == 0 c%i c i 0 {
				z++;
			} z++ z System.out.println(z) System.out.println System.out System System.out z String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;


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

}