import java.util.Scanner;

class Main {
  public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int a, b, c;
    a = cin.nextInt();
    b = cin.nextInt();
    c = cin.nextInt();
    
    int res = serch_divisor_number(a, b, c);

    System.out.println(res);
  }

  private static int serch_divisor_number(int a, int b, int c){
    int m = 0;
    for (int i = a; i <= b; i++){
      if (c % i == 0) m++;
    }
    return (m);
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int a, b, c;
    a = cin.nextInt();
    b = cin.nextInt();
    c = cin.nextInt();
    
    int res = serch_divisor_number(a, b, c);

    System.out.println(res);
  }

  private static int serch_divisor_number(int a, int b, int c){
    int m = 0;
    for (int i = a; i <= b; i++){
      if (c % i == 0) m++;
    }
    return (m);
  }
} Main public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int a, b, c;
    a = cin.nextInt();
    b = cin.nextInt();
    c = cin.nextInt();
    
    int res = serch_divisor_number(a, b, c);

    System.out.println(res);
  } main {
    Scanner cin = new Scanner(System.in);
    int a, b, c;
    a = cin.nextInt();
    b = cin.nextInt();
    c = cin.nextInt();
    
    int res = serch_divisor_number(a, b, c);

    System.out.println(res);
  } Scanner cin = new Scanner(System.in); cin new Scanner(System.in) int a a b b c; c a = cin.nextInt() a cin.nextInt() cin.nextInt cin b = cin.nextInt() b cin.nextInt() cin.nextInt cin c = cin.nextInt() c cin.nextInt() cin.nextInt cin int res = serch_divisor_number(a, b, c); res serch_divisor_number(a, b, c) serch_divisor_number a b c System.out.println(res) System.out.println System.out System System.out res String[] args args private static int serch_divisor_number(int a, int b, int c){
    int m = 0;
    for (int i = a; i <= b; i++){
      if (c % i == 0) m++;
    }
    return (m);
  } serch_divisor_number {
    int m = 0;
    for (int i = a; i <= b; i++){
      if (c % i == 0) m++;
    }
    return (m);
  } int m = 0; m 0 for (int i = a; i <= b; i++){
      if (c % i == 0) m++;
    } int i = a; int i = a; i a i <= b i b i++ i++ i {
      if (c % i == 0) m++;
    } {
      if (c % i == 0) m++;
    } if (c % i == 0) m++; c % i == 0 c % i c i 0 m++ m return (m); (m) int a a int b b int c c
import java.util.Scanner;

class Main {
  public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int a, b, c;
    a = cin.nextInt();
    b = cin.nextInt();
    c = cin.nextInt();
    
    int res = serch_divisor_number(a, b, c);

    System.out.println(res);
  }

  private static int serch_divisor_number(int a, int b, int c){
    int m = 0;
    for (int i = a; i <= b; i++){
      if (c % i == 0) m++;
    }
    return (m);
  }
}