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

public class Main {

	public static void main(String[] args) {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util public class Main {

	public static void main(String[] args) {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	}

} Main public static void main(String[] args) {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	} main {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	} int intJudge = 0; intJudge 0 int intCount = 0; intCount 0 int inta = 0; inta 0 int intb = 0; intb 0 int intc = 0; intc 0 try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		} catch (IOException e1) {
			System.out.println(e1);
		} IOException e1 {
			System.out.println(e1);
		} System.out.println(e1) System.out.println System.out System System.out e1 catch (NumberFormatException e2) {
			System.out.println(e2);
		} NumberFormatException e2 {
			System.out.println(e2);
		} System.out.println(e2) System.out.println System.out System System.out e2 {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strInput = br.readLine(); strInput br.readLine() br.readLine br ArrayList<Integer> NumList = new ArrayList<Integer>(); NumList new ArrayList<Integer>() String[] strNumList = strInput.split(" ", 0); strNumList strInput.split(" ", 0) strInput.split strInput " " 0 for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			} int i = 0; int i = 0; i 0 i < strNumList.length i strNumList.length strNumList strNumList.length i++ i++ i {
				NumList.add(Integer.parseInt(strNumList[i]));

			} {
				NumList.add(Integer.parseInt(strNumList[i]));

			} NumList.add(Integer.parseInt(strNumList[i])) NumList.add NumList Integer.parseInt(strNumList[i]) Integer.parseInt Integer strNumList[i] strNumList i inta = NumList.get(0) inta NumList.get(0) NumList.get NumList 0 intb = NumList.get(1) intb NumList.get(1) NumList.get NumList 1 intc = NumList.get(2) intc NumList.get(2) NumList.get NumList 2 for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			} int i =inta ; int i =inta ; i inta i <= intb i intb i++ i++ i {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			} {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			} intJudge = intc % i intJudge intc % i intc i if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				} intJudge == 0 intJudge 0 {
					//?´???°???????????????
					intCount++;
				} intCount++ intCount System.out.println(intCount) System.out.println System.out System System.out intCount String[] args args public class Main {

	public static void main(String[] args) {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	}

} public class Main {

	public static void main(String[] args) {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	}

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

public class Main {

	public static void main(String[] args) {

		int intJudge = 0;
		int intCount = 0;

		int inta = 0;
		int intb = 0;
		int intc = 0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));

			}

			inta = NumList.get(0);
			intb = NumList.get(1);
			intc = NumList.get(2);

			for (int i =inta ; i <= intb; i++) {
				intJudge = intc % i;
				if (intJudge == 0) {
					//?´???°???????????????
					intCount++;
				}
			}
			//???????????????
			System.out.println(intCount);

		} catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}
	}

}