import java.util.*;

class Main{
    public static void main(String[] args){
        int  x,y,z,c;
        Scanner in = new Scanner(System.in);
        x = in.nextInt();
        y = in.nextInt();
        z = in.nextInt();
        c = 0;
        while( x <= y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        }
        System.out.println(c);
    }
}
  import java.util.*; util.* java class Main{
    public static void main(String[] args){
        int  x,y,z,c;
        Scanner in = new Scanner(System.in);
        x = in.nextInt();
        y = in.nextInt();
        z = in.nextInt();
        c = 0;
        while( x <= y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        }
        System.out.println(c);
    }
} Main public static void main(String[] args){
        int  x,y,z,c;
        Scanner in = new Scanner(System.in);
        x = in.nextInt();
        y = in.nextInt();
        z = in.nextInt();
        c = 0;
        while( x <= y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        }
        System.out.println(c);
    } main {
        int  x,y,z,c;
        Scanner in = new Scanner(System.in);
        x = in.nextInt();
        y = in.nextInt();
        z = in.nextInt();
        c = 0;
        while( x <= y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        }
        System.out.println(c);
    } int  x x y y z z c; c Scanner in = new Scanner(System.in); in new Scanner(System.in) x = in.nextInt() x in.nextInt() in.nextInt in y = in.nextInt() y in.nextInt() in.nextInt in z = in.nextInt() z in.nextInt() in.nextInt in c = 0 c 0 while( x <= y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        } x <= y x y {
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        } if( z%x == 0){
                c = c + 1;
            } z%x == 0 z%x z x 0 {
                c = c + 1;
            } c = c + 1 c c + 1 c 1 x = x + 1 x x + 1 x 1 System.out.println(c) System.out.println System.out System System.out c String[] args args
import java.util.*;

class Main{
    public static void main(String[] args){
        int  x,y,z,c;
        Scanner in = new Scanner(System.in);
        x = in.nextInt();
        y = in.nextInt();
        z = in.nextInt();
        c = 0;
        while( x <= y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        }
        System.out.println(c);
    }
}
 