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

public class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	}

} Main public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) int x x y y z; z int ans = 0; ans 0 try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        } catch(IOException e){
        	e.printStackTrace();
        } IOException e {
        	e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        } String[] list = br.readLine().split(" "); list br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " x = Integer.parseInt(list[0]) x Integer.parseInt(list[0]) Integer.parseInt Integer list[0] list 0 y = Integer.parseInt(list[1]) y Integer.parseInt(list[1]) Integer.parseInt Integer list[1] list 1 z = Integer.parseInt(list[2]) z Integer.parseInt(list[2]) Integer.parseInt Integer list[2] list 2 for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	} int i = x; int i = x; i x i <= y i y i++ i++ i {
        		if (z % i == 0)
        			ans += 1;
        	} {
        		if (z % i == 0)
        			ans += 1;
        	} if (z % i == 0)
        			ans += 1; z % i == 0 z % i z i 0 ans += 1 ans 1 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	}

} public class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int x, y, z;
        int ans = 0;
        try{
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[1]);
        	z = Integer.parseInt(list[2]);
        	
        	for (int i = x; i <= y; i++)
        	{
        		if (z % i == 0)
        			ans += 1;
        	}
        	
        }
        catch(IOException e){
        	e.printStackTrace();
        }
        System.out.println(ans);
	}

}