import java.util.Scanner;

public class Main {

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

} import java.util.Scanner; Scanner java.util public class Main {

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

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

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

} public class Main {

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

} Main
import java.util.Scanner;

public class Main {

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

}
