import java.util.Scanner;

public class Main {

  private static int a, b, c, divisior_count;

  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    a = stdIn.nextInt();
    b = stdIn.nextInt();
    c = stdIn.nextInt();
    divisior_count = 0;

    for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    }
    System.out.println(divisior_count);
  }
} import java.util.Scanner; Scanner java.util public class Main {

  private static int a, b, c, divisior_count;

  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    a = stdIn.nextInt();
    b = stdIn.nextInt();
    c = stdIn.nextInt();
    divisior_count = 0;

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

    for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    }
    System.out.println(divisior_count);
  } main {
    Scanner stdIn = new Scanner(System.in);
    a = stdIn.nextInt();
    b = stdIn.nextInt();
    c = stdIn.nextInt();
    divisior_count = 0;

    for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    }
    System.out.println(divisior_count);
  } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) a = stdIn.nextInt() a stdIn.nextInt() stdIn.nextInt stdIn b = stdIn.nextInt() b stdIn.nextInt() stdIn.nextInt stdIn c = stdIn.nextInt() c stdIn.nextInt() stdIn.nextInt stdIn divisior_count = 0 divisior_count 0 for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    } int i = a; int i = a; i a i <= b i b i++ i++ i {
      if (c % i == 0) {
        divisior_count++;
      }
    } {
      if (c % i == 0) {
        divisior_count++;
      }
    } if (c % i == 0) {
        divisior_count++;
      } c % i == 0 c % i c i 0 {
        divisior_count++;
      } divisior_count++ divisior_count System.out.println(divisior_count) System.out.println System.out System System.out divisior_count String[] args args public class Main {

  private static int a, b, c, divisior_count;

  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    a = stdIn.nextInt();
    b = stdIn.nextInt();
    c = stdIn.nextInt();
    divisior_count = 0;

    for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    }
    System.out.println(divisior_count);
  }
} public class Main {

  private static int a, b, c, divisior_count;

  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    a = stdIn.nextInt();
    b = stdIn.nextInt();
    c = stdIn.nextInt();
    divisior_count = 0;

    for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    }
    System.out.println(divisior_count);
  }
} Main
import java.util.Scanner;

public class Main {

  private static int a, b, c, divisior_count;

  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    a = stdIn.nextInt();
    b = stdIn.nextInt();
    c = stdIn.nextInt();
    divisior_count = 0;

    for (int i = a; i <= b ; i++ ) {
      if (c % i == 0) {
        divisior_count++;
      }
    }
    System.out.println(divisior_count);
  }
}