import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	}
} Main public static void main(String[] args){
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	} main {
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	} Scanner input_line = new Scanner(System.in); input_line new Scanner(System.in) String input = input_line.nextLine(); input input_line.nextLine() input_line.nextLine input_line String[] Array = input.split(" "); Array input.split(" ") input.split input " " int a = Integer.parseInt(Array[0]); a Integer.parseInt(Array[0]) Integer.parseInt Integer Array[0] Array 0 int b = Integer.parseInt(Array[1]); b Integer.parseInt(Array[1]) Integer.parseInt Integer Array[1] Array 1 int c = Integer.parseInt(Array[2]); c Integer.parseInt(Array[2]) Integer.parseInt Integer Array[2] Array 2 int num; num int count = 0; count 0 for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		} num = a; num = a num a num <=b num b num++ num++ num {
			if(c%num == 0){
				count = count + 1;
			}
		} {
			if(c%num == 0){
				count = count + 1;
			}
		} if(c%num == 0){
				count = count + 1;
			} c%num == 0 c%num c num 0 {
				count = count + 1;
			} count = count + 1 count count + 1 count 1 System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main{
	public static void main(String[] args){
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	}
} public class Main{
	public static void main(String[] args){
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner input_line = new Scanner(System.in);
		String input = input_line.nextLine();
		String[] Array = input.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[1]);
		int c = Integer.parseInt(Array[2]);
		int num;
		int count = 0;
		for(num = a; num <=b ; num++){
			if(c%num == 0){
				count = count + 1;
			}
		}
		System.out.println(count);	
	}
}