import java.io.*;

class Main {

    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        try {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

} import java.io.*; io.* java class Main {

    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        try {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

} Main public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        try {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        try {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } NumberFormatException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[1]); b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 int c = Integer.parseInt(line[2]); c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 int count = 0; count 0 for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            } int i = 1; int i = 1; i 1 i <= c i c i++ i++ i {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            } {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            } if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                } c % i == 0 c % i c i 0 {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                } int tmp = c / i; tmp c / i c i if (a <= tmp && tmp <= b) {
                        count++;
                    } a <= tmp && tmp <= b a <= tmp a tmp tmp <= b tmp b {
                        count++;
                    } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;

class Main {

    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        try {
            String[] line = reader.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[1]);
            int c = Integer.parseInt(line[2]);
           
            int count = 0;
            for (int i = 1; i <= c; i++) {
                if (c % i == 0) {
                    int tmp = c / i;
                    
                    if (a <= tmp && tmp <= b) {
                        count++;
                    }
                }
            }

            System.out.println(count);
            
        } catch (NumberFormatException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}