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