import java.io.*;
 
class Main {
     public static void main(String[] args) {
 
        int intNum1 = 0;
        int intNum2 = 0;
        int intNum3 = 0;
        int intAnswer = 0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        }

        catch(IOException e) {
            System.out.println(e);
        }
        catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        }
    }
} import java.io.*; io.* java class Main {
     public static void main(String[] args) {
 
        int intNum1 = 0;
        int intNum2 = 0;
        int intNum3 = 0;
        int intAnswer = 0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        }

        catch(IOException e) {
            System.out.println(e);
        }
        catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        }
    }
} Main public static void main(String[] args) {
 
        int intNum1 = 0;
        int intNum2 = 0;
        int intNum3 = 0;
        int intAnswer = 0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        }

        catch(IOException e) {
            System.out.println(e);
        }
        catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        }
    } main {
 
        int intNum1 = 0;
        int intNum2 = 0;
        int intNum3 = 0;
        int intAnswer = 0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        }

        catch(IOException e) {
            System.out.println(e);
        }
        catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        }
    } int intNum1 = 0; intNum1 0 int intNum2 = 0; intNum2 0 int intNum3 = 0; intNum3 0 int intAnswer = 0; intAnswer 0 try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        }

        catch(IOException e) {
            System.out.println(e);
        }
        catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        } catch(IOException e) {
            System.out.println(e);
        } IOException e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        } NumberFormatException e {
            System.out.println("??°?????§??\??????????????????");
        } System.out.println("??°?????§??\??????????????????") System.out.println System.out System System.out "??°?????§??\??????????????????" {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strLine = br.readLine(); strLine br.readLine() br.readLine br String[] strLineAry = strLine.split(" "); strLineAry strLine.split(" ") strLine.split strLine " " intNum1 = Integer.parseInt(strLineAry[0]) intNum1 Integer.parseInt(strLineAry[0]) Integer.parseInt Integer strLineAry[0] strLineAry 0 intNum2 = Integer.parseInt(strLineAry[1]) intNum2 Integer.parseInt(strLineAry[1]) Integer.parseInt Integer strLineAry[1] strLineAry 1 intNum3 = Integer.parseInt(strLineAry[2]) intNum3 Integer.parseInt(strLineAry[2]) Integer.parseInt Integer strLineAry[2] strLineAry 2 for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            } int i = intNum1; int i = intNum1; i intNum1 i <= intNum2 i intNum2 i++ i++ i {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            } {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            } if(intNum3 % i == 0) {
                    intAnswer++;
                } intNum3 % i == 0 intNum3 % i intNum3 i 0 {
                    intAnswer++;
                } intAnswer++ intAnswer System.out.println(intAnswer) System.out.println System.out System System.out intAnswer String[] args args
import java.io.*;
 
class Main {
     public static void main(String[] args) {
 
        int intNum1 = 0;
        int intNum2 = 0;
        int intNum3 = 0;
        int intAnswer = 0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");
 
            intNum1 = Integer.parseInt(strLineAry[0]);
            intNum2 = Integer.parseInt(strLineAry[1]);
            intNum3 = Integer.parseInt(strLineAry[2]);
 
            for(int i = intNum1; i <= intNum2; i++) {
                if(intNum3 % i == 0) {
                    intAnswer++;
                }
            }
            System.out.println(intAnswer);
        }

        catch(IOException e) {
            System.out.println(e);
        }
        catch(NumberFormatException e) {
            System.out.println("??°?????§??\??????????????????");
        }
    }
}