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

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
} Main public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    } main {
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int number = 0; number 0 int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    } int i = a; int i = a; i a i <= b i b i++ i++ i {
        if(c % i == 0){
        number = number + 1;
        }
    } {
        if(c % i == 0){
        number = number + 1;
        }
    } if(c % i == 0){
        number = number + 1;
        } c % i == 0 c % i c i 0 {
        number = number + 1;
        } number = number + 1 number number + 1 number 1 System.out.println(number) System.out.println System.out System System.out number String[] args args
import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
}