import java.io.*;

class Main {
	public static void main(String[] args){
		int a, b, c, x, A;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} catch(Exception e){
		}
		System.out.print("\n");
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args){
		int a, b, c, x, A;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} catch(Exception e){
		}
		System.out.print("\n");
	}
} Main public static void main(String[] args){
		int a, b, c, x, A;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} catch(Exception e){
		}
		System.out.print("\n");
	} main {
		int a, b, c, x, A;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} catch(Exception e){
		}
		System.out.print("\n");
	} int a a b b c c x x A; A String buf; buf try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} catch(Exception e){
		} catch(Exception e){
		} Exception e {
		} {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) buf = br.readLine() buf br.readLine() br.readLine br String[] line = buf.split(" "); line buf.split(" ") buf.split buf " " a = Integer.parseInt(line[0]) a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 b = Integer.parseInt(line[1]) b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 c = Integer.parseInt(line[2]) c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 A = 0 A 0 for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			} x=a; x=a x a x<=b x b x++ x++ x {
				if(c % x == 0){
					A = A+1;
				}
			} {
				if(c % x == 0){
					A = A+1;
				}
			} if(c % x == 0){
					A = A+1;
				} c % x == 0 c % x c x 0 {
					A = A+1;
				} A = A+1 A A+1 A 1 System.out.print(A) System.out.print System.out System System.out A System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args
import java.io.*;

class Main {
	public static void main(String[] args){
		int a, b, c, x, A;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			buf = br.readLine();
			String[] line = buf.split(" ");
			
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			A = 0;
			for(x=a;x<=b;x++){
				if(c % x == 0){
					A = A+1;
				}
			}
			System.out.print(A);
		} catch(Exception e){
		}
		System.out.print("\n");
	}
}