import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	}
} 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 {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[1]); b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 int c = Integer.parseInt(line[2]); c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 int cnt = 0; cnt 0 for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		} int i= a; int i= a; i a i <= b i b i++ i++ i {
			int x = c % i;
			if( x==0) cnt++;
		} {
			int x = c % i;
			if( x==0) cnt++;
		} int x = c % i; x c % i c i if( x==0) cnt++; x==0 x 0 cnt++ cnt System.out.println( cnt ) System.out.println System.out System System.out cnt String[] args args public class Main{
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	}
} public class Main{
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);
		int c = Integer.parseInt(line[2]);
		int cnt = 0;
		for(int i= a; i <= b; i++){
			int x = c % i;
			if( x==0) cnt++;
		}
		System.out.println( cnt );
	}
}