import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
}
} Main public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
} main {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int b=scan.nextInt(); b scan.nextInt() scan.nextInt scan int c=scan.nextInt(); c scan.nextInt() scan.nextInt scan int x x y=0; y 0 for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			} x=a; x=a x a x<=b x b x++ x++ x {
				if(c%x == 0)
					y=y+1;
			} {
				if(c%x == 0)
					y=y+1;
			} if(c%x == 0)
					y=y+1; c%x == 0 c%x c x 0 y=y+1 y y+1 y 1 System.out.println(y) System.out.println System.out System System.out y scan.close() scan.close scan String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
}
} public class Main {
	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
			int a=scan.nextInt();
			int b=scan.nextInt();
			int c=scan.nextInt();
			int x,y=0;
			for(x=a;x<=b;x++) {
				if(c%x == 0)
					y=y+1;
			}
			System.out.println(y);
		scan.close();
}
}
