import java.io.*;

class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");

    int count = 0;
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[1]);
    int c = Integer.parseInt(str2[2]);
    int d;
    for (int i = a; i <= b; i++){
      d = c % i;
      if (d == 0){count++;}
    }
    System.out.println(count);
  }
} import java.io.*; io.* java class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");

    int count = 0;
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[1]);
    int c = Integer.parseInt(str2[2]);
    int d;
    for (int i = a; i <= b; i++){
      d = c % i;
      if (d == 0){count++;}
    }
    System.out.println(count);
  }
} Main public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");

    int count = 0;
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[1]);
    int c = Integer.parseInt(str2[2]);
    int d;
    for (int i = a; i <= b; i++){
      d = c % i;
      if (d == 0){count++;}
    }
    System.out.println(count);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");

    int count = 0;
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[1]);
    int c = Integer.parseInt(str2[2]);
    int d;
    for (int i = a; i <= b; i++){
      d = c % i;
      if (d == 0){count++;}
    }
    System.out.println(count);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str1 = br.readLine(); str1 br.readLine() br.readLine br String[] str2 = str1.split(" "); str2 str1.split(" ") str1.split str1 " " int count = 0; count 0 int a = Integer.parseInt(str2[0]); a Integer.parseInt(str2[0]) Integer.parseInt Integer str2[0] str2 0 int b = Integer.parseInt(str2[1]); b Integer.parseInt(str2[1]) Integer.parseInt Integer str2[1] str2 1 int c = Integer.parseInt(str2[2]); c Integer.parseInt(str2[2]) Integer.parseInt Integer str2[2] str2 2 int d; d for (int i = a; i <= b; i++){
      d = c % i;
      if (d == 0){count++;}
    } int i = a; int i = a; i a i <= b i b i++ i++ i {
      d = c % i;
      if (d == 0){count++;}
    } {
      d = c % i;
      if (d == 0){count++;}
    } d = c % i d c % i c i if (d == 0){count++;} d == 0 d 0 {count++;} count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;

class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");

    int count = 0;
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[1]);
    int c = Integer.parseInt(str2[2]);
    int d;
    for (int i = a; i <= b; i++){
      d = c % i;
      if (d == 0){count++;}
    }
    System.out.println(count);
  }
}