import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  } main {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int start = sc.nextInt(); start sc.nextInt() sc.nextInt sc int end = sc.nextInt(); end sc.nextInt() sc.nextInt sc int target = sc.nextInt(); target sc.nextInt() sc.nextInt sc int divisors = 0; divisors 0 for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    } int i = start; int i = start; i start i <= end i end i++ i++ i {
      if (target % i == 0) {
        divisors++;
      }
    } {
      if (target % i == 0) {
        divisors++;
      }
    } if (target % i == 0) {
        divisors++;
      } target % i == 0 target % i target i 0 {
        divisors++;
      } divisors++ divisors System.out.println(divisors) System.out.println System.out System System.out divisors String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  }
}