import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    }
}
 import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    } main {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int sum = 0; sum 0 for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        } int i=a; int i=a; i a i<=b i b i++ i++ i {
            if(c % i == 0){
                sum++;
            }
        } {
            if(c % i == 0){
                sum++;
            }
        } if(c % i == 0){
                sum++;
            } c % i == 0 c % i c i 0 {
                sum++;
            } sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int sum = 0;
        
        for(int i=a; i<=b; i++ ){
            if(c % i == 0){
                sum++;
            }
        }
        System.out.println(sum);
    }
}

