import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	}
		
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	}
		
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	} main {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int count = 0; count 0 do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1); a != b+1 a b+1 b 1 {
			if(c % a == 0){
				count++;
			}
			a++;
		} if(c % a == 0){
				count++;
			} c % a == 0 c % a c a 0 {
				count++;
			} count++ count a++ a System.out.println(count) System.out.println System.out System System.out count scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	}
		
} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	}
		
} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		int count = 0;
		
		do{
			if(c % a == 0){
				count++;
			}
			a++;
		}while(a != b+1);
		System.out.println(count);
		
		scanner.close();
	}
		
}