import java.util.*;

 class Main
 {
   public static void main(String args[])
   { 
    input();
   }
   static void input()
   {
     Scanner sc = new Scanner(System.in);
     
     int a = sc.nextInt();
     
     int b = sc.nextInt();
     
     int c = sc.nextInt();
     //Divisor calculation
     divisor(a,b,c);
   }
   static void divisor(int a,int b,int c)
   {
     int count = 0;
     
     for(int i = a; i <= b; i ++)
     {
       if(c % i == 0)count ++;
     }
     output(count);
   }
   static void output(int answer)
   {
     System.out.println(answer);
   }
 }
     import java.util.*; util.* java class Main
 {
   public static void main(String args[])
   { 
    input();
   }
   static void input()
   {
     Scanner sc = new Scanner(System.in);
     
     int a = sc.nextInt();
     
     int b = sc.nextInt();
     
     int c = sc.nextInt();
     //Divisor calculation
     divisor(a,b,c);
   }
   static void divisor(int a,int b,int c)
   {
     int count = 0;
     
     for(int i = a; i <= b; i ++)
     {
       if(c % i == 0)count ++;
     }
     output(count);
   }
   static void output(int answer)
   {
     System.out.println(answer);
   }
 } Main public static void main(String args[])
   { 
    input();
   } main { 
    input();
   } input() input String args[] args static void input()
   {
     Scanner sc = new Scanner(System.in);
     
     int a = sc.nextInt();
     
     int b = sc.nextInt();
     
     int c = sc.nextInt();
     //Divisor calculation
     divisor(a,b,c);
   } input {
     Scanner sc = new Scanner(System.in);
     
     int a = sc.nextInt();
     
     int b = sc.nextInt();
     
     int c = sc.nextInt();
     //Divisor calculation
     divisor(a,b,c);
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc divisor(a,b,c) divisor a b c static void divisor(int a,int b,int c)
   {
     int count = 0;
     
     for(int i = a; i <= b; i ++)
     {
       if(c % i == 0)count ++;
     }
     output(count);
   } divisor {
     int count = 0;
     
     for(int i = a; i <= b; i ++)
     {
       if(c % i == 0)count ++;
     }
     output(count);
   } int count = 0; count 0 for(int i = a; i <= b; i ++)
     {
       if(c % i == 0)count ++;
     } int i = a; int i = a; i a i <= b i b i ++ i ++ i {
       if(c % i == 0)count ++;
     } {
       if(c % i == 0)count ++;
     } if(c % i == 0)count ++; c % i == 0 c % i c i 0 count ++ count output(count) output count int a a int b b int c c static void output(int answer)
   {
     System.out.println(answer);
   } output {
     System.out.println(answer);
   } System.out.println(answer) System.out.println System.out System System.out answer int answer answer
import java.util.*;

 class Main
 {
   public static void main(String args[])
   { 
    input();
   }
   static void input()
   {
     Scanner sc = new Scanner(System.in);
     
     int a = sc.nextInt();
     
     int b = sc.nextInt();
     
     int c = sc.nextInt();
     //Divisor calculation
     divisor(a,b,c);
   }
   static void divisor(int a,int b,int c)
   {
     int count = 0;
     
     for(int i = a; i <= b; i ++)
     {
       if(c % i == 0)count ++;
     }
     output(count);
   }
   static void output(int answer)
   {
     System.out.println(answer);
   }
 }
    
