import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  }

} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String readStr; readStr int c = 0; c 0 while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    } (readStr = reader.readLine()) != null (readStr = reader.readLine()) readStr reader.readLine() reader.readLine reader null {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    } int[] list = new int[3]; list new int[3] 3 list[0] = Integer.parseInt(readStr.split(" ")[0]) list[0] list 0 Integer.parseInt(readStr.split(" ")[0]) Integer.parseInt Integer readStr.split(" ")[0] readStr.split(" ") readStr.split readStr " " 0 list[1] = Integer.parseInt(readStr.split(" ")[1]) list[1] list 1 Integer.parseInt(readStr.split(" ")[1]) Integer.parseInt Integer readStr.split(" ")[1] readStr.split(" ") readStr.split readStr " " 1 list[2] = Integer.parseInt(readStr.split(" ")[2]) list[2] list 2 Integer.parseInt(readStr.split(" ")[2]) Integer.parseInt Integer readStr.split(" ")[2] readStr.split(" ") readStr.split readStr " " 2 for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      } int i = list[0]; int i = list[0]; i list[0] list 0 i <= list[1] i list[1] list 1 i++ i++ i {
        if (list[2] % i == 0) c++;
      } {
        if (list[2] % i == 0) c++;
      } if (list[2] % i == 0) c++; list[2] % i == 0 list[2] % i list[2] list 2 i 0 c++ c System.out.println(c) System.out.println System.out System System.out c break; String[] args args public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  }

} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  }

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      list[2] = Integer.parseInt(readStr.split(" ")[2]);
      for (int i = list[0]; i <= list[1]; i++) {
        if (list[2] % i == 0) c++;
      }
      System.out.println(c);
      break;
    }
  }

}