import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;

public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.lang.Math; Math java.lang public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    } main {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    } try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        } Exception e {
            e.getStackTrace();
            System.exit(-1);
        } e.getStackTrace() e.getStackTrace e System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String line; line while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            } (line = stdReader.readLine()) != null (line = stdReader.readLine()) line stdReader.readLine() stdReader.readLine stdReader null {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            } String[] input = line.split(" ", 0); input line.split(" ", 0) line.split line " " 0 int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[1]); b Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 int c = Integer.parseInt(input[2]); c Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 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++ count System.out.println(count) System.out.println System.out System System.out count stdReader.close() stdReader.close stdReader String[] args args public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;

public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[1]);
                int c = Integer.parseInt(input[2]);
                
                int count = 0;
                for(int i = a; i <= b; i++) {
                    if(c % i == 0) {
                        count++;
                    }
                }
                
                System.out.println(count);
                
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
}