import java.util.Scanner;
public class Main {
	void howmany(){
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.howmany();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void howmany(){
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.howmany();
	}
} Main void howmany(){
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	} howmany {
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	} int a a b b c c cnt; cnt Scanner s = new Scanner(System.in); s new Scanner(System.in) a = s.nextInt() a s.nextInt() s.nextInt s b = s.nextInt() b s.nextInt() s.nextInt s c = s.nextInt() c s.nextInt() s.nextInt s cnt = 0 cnt 0 for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		} int i = a ; int i = a ; i a i <= b i b i++ i++ i {
			if((c%i)==0){
				cnt++;
			}
		} {
			if((c%i)==0){
				cnt++;
			}
		} if((c%i)==0){
				cnt++;
			} (c%i)==0 (c%i) c i 0 {
				cnt++;
			} cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt public static void main(String args[]){
		Main m = new Main();
		m.howmany();
	} main {
		Main m = new Main();
		m.howmany();
	} Main m = new Main(); m new Main() m.howmany() m.howmany m String args[] args public class Main {
	void howmany(){
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.howmany();
	}
} public class Main {
	void howmany(){
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.howmany();
	}
} Main
import java.util.Scanner;
public class Main {
	void howmany(){
		int a,b,c,cnt;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		cnt = 0;
		for(int i = a ; i <= b ; i++){
			if((c%i)==0){
				cnt++;
			}
		}
		System.out.println(cnt);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.howmany();
	}
}