import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    }
} Main public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    } main {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String[] input = br.readLine().split(" "); input br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[1]); b Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 int c = Integer.parseInt(input[2]); c Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 int cum = 0; cum 0 for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       } int x = a; int x = a; x a x <= b x b x++ x++ x {
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       } {
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       } int ans = c % x; ans c % x c x if(ans == 0){
    		   cum += 1;
    	   } ans == 0 ans 0 {
    		   cum += 1;
    	   } cum += 1 cum 1 System.out.println(cum) System.out.println System.out System System.out cum String[] args args public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    }
} public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

       String[] input = br.readLine().split(" ");
       int a = Integer.parseInt(input[0]);
       int b = Integer.parseInt(input[1]);
       int c = Integer.parseInt(input[2]);
       int cum = 0;
       for(int x = a; x <= b ; x++){
    	   int ans = c % x;
    	   if(ans == 0){
    		   cum += 1;
    	   }
       }
       System.out.println(cum);
    }
}