import java.io.*;
import java.lang.Integer;
public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} import java.io.*; io.* java import java.lang.Integer; Integer java.lang public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} Main public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	} main {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	} try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		} IOException e {
			System.out.println("??¨??????????????????????????????");
		} System.out.println("??¨??????????????????????????????") System.out.println System.out System System.out "??¨??????????????????????????????" {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String in  = br.readLine() ; in br.readLine() br.readLine br String[] numStr = in.split(" "); numStr in.split(" ") in.split in " " int[] num = new int[4]; num new int[4] 4 num[0] = Integer.parseInt(numStr[0]) num[0] num 0 Integer.parseInt(numStr[0]) Integer.parseInt Integer numStr[0] numStr 0 num[1] = Integer.parseInt(numStr[1]) num[1] num 1 Integer.parseInt(numStr[1]) Integer.parseInt Integer numStr[1] numStr 1 num[2] = Integer.parseInt(numStr[2]) num[2] num 2 Integer.parseInt(numStr[2]) Integer.parseInt Integer numStr[2] numStr 2 int cnt = 0; cnt 0 for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			} int n = num[0] ; int n = num[0] ; n num[0] num 0 n <= num[1] n num[1] num 1 n++ n++ n {
				if ( (num[2]%n) == 0 ) cnt++;
			} {
				if ( (num[2]%n) == 0 ) cnt++;
			} if ( (num[2]%n) == 0 ) cnt++; (num[2]%n) == 0 (num[2]%n) num[2] num 2 n 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) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} Main
import java.io.*;
import java.lang.Integer;
public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			num[2] = Integer.parseInt(numStr[2]);
			int cnt = 0;
			for( int n = num[0] ; n <= num[1] ; n++) {
				if ( (num[2]%n) == 0 ) cnt++;
			}
			System.out.println(cnt);
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
}