import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     }
    }
 import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     }
    } Main public static void main(String[] args){
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     } main {
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int sum = 0; sum 0 for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      } int i = a; int i = a; i a i <= b i b i++ i++ i {
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      } {
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      } int q = c % i; q c % i c i if(q == 0){
          sum++;
        } q == 0 q 0 {
          sum++;
        } sum++ sum if(i == b){
          System.out.println(sum);
        } i == b i b {
          System.out.println(sum);
        } System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
    public static void main(String[] args){
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     }
    } public class Main {
    public static void main(String[] args){
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     }
    } Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
     Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      int c = scan.nextInt();
      int sum = 0;
      for(int i = a;i <= b;i++){
        int q = c % i;
        if(q == 0){
          sum++;
        }
        if(i == b){
          System.out.println(sum);
        }
      }
     }
    }

