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