import java.util.*;
import java.io.*;

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

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        String[] str = s.split(" ");
        int x=0;
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);
        //System.out.println(a+" " + b +" "+ c);
        
        if(!(a<1 || a>10000) || (b<1 && b>10000) || (c<1 && c>10000) || (a>b)){
            for(; a<=b; a++){
                //System.out.println(a);
                if(c % a == 0){
                    x++;
                }
            }
            System.out.println(x);
        }
    }
}