import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  }
  static int method(int a, int b, int c) {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  }
  static int method(int a, int b, int c) {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  } main {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc System.out.println(method(a, b, c)) System.out.println System.out System System.out method(a, b, c) method a b c String[] args args static int method(int a, int b, int c) {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  } method {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  } int divisor = 0; divisor 0 for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    } int i = a; int i = a; i a i < b + 1 i b + 1 b 1 i++ i++ i {
      if(c % i == 0) {
        divisor++;
      }
    } {
      if(c % i == 0) {
        divisor++;
      }
    } if(c % i == 0) {
        divisor++;
      } c % i == 0 c % i c i 0 {
        divisor++;
      } divisor++ divisor return divisor; divisor int a a int b b int c c public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  }
  static int method(int a, int b, int c) {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  }
  static int method(int a, int b, int c) {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  }
} Main
import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    System.out.println(method(a, b, c));
  }
  static int method(int a, int b, int c) {
    int divisor = 0;
    for(int i = a;i < b + 1;i++) {
      if(c % i == 0) {
        divisor++;
      }
    }
    return divisor;
  }
}