import java.util.*;

class Main{
	public static void main(String[] args){
		int s[]=new int[3];
		Scanner sc = new Scanner(System.in);
		
		for(int i=0;i<s.length;i++){
			s[i]= sc.nextInt();
		}
		int a = s[0];
		int b = s[1];
		int c = s[2];
		int cnt = 0;
		for(int i = a; i <= b; i++){
			if((c % i) == 0){
				cnt++;
			}
		}
				
		System.out.println(cnt);
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		int s[]=new int[3];
		Scanner sc = new Scanner(System.in);
		
		for(int i=0;i<s.length;i++){
			s[i]= sc.nextInt();
		}
		int a = s[0];
		int b = s[1];
		int c = s[2];
		int cnt = 0;
		for(int i = a; i <= b; i++){
			if((c % i) == 0){
				cnt++;
			}
		}
				
		System.out.println(cnt);
	}
} Main public static void main(String[] args){
		int s[]=new int[3];
		Scanner sc = new Scanner(System.in);
		
		for(int i=0;i<s.length;i++){
			s[i]= sc.nextInt();
		}
		int a = s[0];
		int b = s[1];
		int c = s[2];
		int cnt = 0;
		for(int i = a; i <= b; i++){
			if((c % i) == 0){
				cnt++;
			}
		}
				
		System.out.println(cnt);
	} main {
		int s[]=new int[3];
		Scanner sc = new Scanner(System.in);
		
		for(int i=0;i<s.length;i++){
			s[i]= sc.nextInt();
		}
		int a = s[0];
		int b = s[1];
		int c = s[2];
		int cnt = 0;
		for(int i = a; i <= b; i++){
			if((c % i) == 0){
				cnt++;
			}
		}
				
		System.out.println(cnt);
	} int s[]=new int[3]; s new int[3] 3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(int i=0;i<s.length;i++){
			s[i]= sc.nextInt();
		} int i=0; int i=0; i 0 i<s.length i s.length s s.length i++ i++ i {
			s[i]= sc.nextInt();
		} {
			s[i]= sc.nextInt();
		} s[i]= sc.nextInt() s[i] s i sc.nextInt() sc.nextInt sc int a = s[0]; a s[0] s 0 int b = s[1]; b s[1] s 1 int c = s[2]; c s[2] s 2 int 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 String[] args args
import java.util.*;

class Main{
	public static void main(String[] args){
		int s[]=new int[3];
		Scanner sc = new Scanner(System.in);
		
		for(int i=0;i<s.length;i++){
			s[i]= sc.nextInt();
		}
		int a = s[0];
		int b = s[1];
		int c = s[2];
		int cnt = 0;
		for(int i = a; i <= b; i++){
			if((c % i) == 0){
				cnt++;
			}
		}
				
		System.out.println(cnt);
	}
}