/*AOJ-ITP-3-4*/

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
public class Main {
    public static void main(String[] args) throws NumberFormatException, IOException {
 
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String st[] = br.readLine().split(" ");
        int count = 0;
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
        int c = Integer.parseInt(st[2]);
        
        if(!((1 <= a && 1 <= b && 1 <= c && 10000 >= a && 10000 >= b && 10000 >= c) && (a <= b))){
        	System.exit(1);
        }
        for(int i = a; i <= b; i++){
            if((c % i) == 0){
                count++;
            }
        }
        System.out.println(count);
        
    }
}