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


public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{

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

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{

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

	}
} Main public static void main (String[] args) throws java.lang.Exception
	{

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

	} main {

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

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

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

	}
} public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{

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

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


public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{

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

	}
}