import java.io.*;

public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    }
} Main public static void main(String[]args) throws NumberFormatException, IOException {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    } main {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[]str= br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[1]); b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int c = Integer.parseInt(str[2]); c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 int i i mod=0 mod 0 count=0; count 0 for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        } i=a; i=a i a i<b+1 i b+1 b 1 i++ i++ i {
            mod=c%i;
            if(mod==0)count++;
        } {
            mod=c%i;
            if(mod==0)count++;
        } mod=c%i mod c%i c i if(mod==0)count++; mod==0 mod 0 count++ count 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) throws NumberFormatException, IOException {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    }
} public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    }
} Main
import java.io.*;

public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
     
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String[]str= br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        int i,mod=0,count=0;
        for(i=a;i<b+1;i++){
            mod=c%i;
            if(mod==0)count++;
        }
        System.out.println(count);
    }
}