import java.io.*;

class Main
{
  public static void main(String[] args) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str[] = br.readLine().split(" ",0);
    int n[] = new int[str.length];
    int count = 0;

    for(int i = 0; i < str.length; i++) n[i] = Integer.parseInt(str[i]);

    for(int x = n[0]; x <= n[1]; x++){
      if(n[2] % x == 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 str[] = br.readLine().split(" ",0);
    int n[] = new int[str.length];
    int count = 0;

    for(int i = 0; i < str.length; i++) n[i] = Integer.parseInt(str[i]);

    for(int x = n[0]; x <= n[1]; x++){
      if(n[2] % x == 0) count++;
    }
    System.out.println(count);
  }
} Main public static void main(String[] args) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str[] = br.readLine().split(" ",0);
    int n[] = new int[str.length];
    int count = 0;

    for(int i = 0; i < str.length; i++) n[i] = Integer.parseInt(str[i]);

    for(int x = n[0]; x <= n[1]; x++){
      if(n[2] % x == 0) count++;
    }
    System.out.println(count);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str[] = br.readLine().split(" ",0);
    int n[] = new int[str.length];
    int count = 0;

    for(int i = 0; i < str.length; i++) n[i] = Integer.parseInt(str[i]);

    for(int x = n[0]; x <= n[1]; x++){
      if(n[2] % x == 0) count++;
    }
    System.out.println(count);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str[] = br.readLine().split(" ",0); str br.readLine().split(" ",0) br.readLine().split br.readLine() br.readLine br " " 0 int n[] = new int[str.length]; n new int[str.length] str.length str str.length int count = 0; count 0 for(int i = 0; i < str.length; i++) n[i] = Integer.parseInt(str[i]); int i = 0; int i = 0; i 0 i < str.length i str.length str str.length i++ i++ i n[i] = Integer.parseInt(str[i]); n[i] = Integer.parseInt(str[i]) n[i] n i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i for(int x = n[0]; x <= n[1]; x++){
      if(n[2] % x == 0) count++;
    } int x = n[0]; int x = n[0]; x n[0] n 0 x <= n[1] x n[1] n 1 x++ x++ x {
      if(n[2] % x == 0) count++;
    } {
      if(n[2] % x == 0) count++;
    } if(n[2] % x == 0) count++; n[2] % x == 0 n[2] % x n[2] n 2 x 0 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 str[] = br.readLine().split(" ",0);
    int n[] = new int[str.length];
    int count = 0;

    for(int i = 0; i < str.length; i++) n[i] = Integer.parseInt(str[i]);

    for(int x = n[0]; x <= n[1]; x++){
      if(n[2] % x == 0) count++;
    }
    System.out.println(count);
  }
}