/*
 * Aizu Online Judge
 */

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

/**
 *
 * @author yoshkur
 */
public class Main {

	/**
	 * @param args the command line arguments
	 */
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
}

class InputData {

	private static final String SEPARATOR = " ";

	private List<String> rows = new ArrayList<>();
	private String row;
	private Integer a;
	private Integer b;
	private Integer c;

	public InputData() {
	}
	
	public void setDataFromLine(BufferedReader br) throws IOException {
		this.row = br.readLine().trim();
	}
	
	public void setDataFromLines(BufferedReader br) throws IOException {
		String line;
		while((line = br.readLine()) != null) {
			this.rows.add(line.trim());
		}
	}

	public void setValues() {
		String[] values = this.row.split(SEPARATOR);
		this.setA(Integer.valueOf(values[0]));
		this.setB(Integer.valueOf(values[1]));
		this.setC(Integer.valueOf(values[2]));
	}

	public Integer getA() {
		return a;
	}

	public void setA(Integer a) {
		this.a = a;
	}

	public Integer getB() {
		return b;
	}

	public void setB(Integer b) {
		this.b = b;
	}

	public Integer getC() {
		return c;
	}

	public void setC(Integer c) {
		this.c = c;
	}
}

class Processing {
	private static final String RETCODE = System.getProperty("line.separator");

	private InputData inputData;

	public Processing(InputData inputData) {
		this.inputData = inputData;
	}

	public String getResult() {
		String result = null;
		int counter = 0;
		for (int i = this.inputData.getA(); i <= this.inputData.getB() ; i++) {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		}
		result = String.valueOf(counter);
		return result;
	}
} 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 import java.util.Collections; Collections java.util import java.util.List; List java.util public class Main {

	/**
	 * @param args the command line arguments
	 */
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
} Main /**
	 * @param args the command line arguments
	 */
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		} IOException | NumberFormatException e {
			System.err.println(e.getLocalizedMessage());
		} System.err.println(e.getLocalizedMessage()) System.err.println System.err System System.err e.getLocalizedMessage() e.getLocalizedMessage e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) InputData inputData = new InputData(); inputData new InputData() inputData.setDataFromLine(br) inputData.setDataFromLine inputData br inputData.setValues() inputData.setValues inputData Processing processing = new Processing(inputData); processing new Processing(inputData) System.out.println(processing.getResult()) System.out.println System.out System System.out processing.getResult() processing.getResult processing String[] args args class InputData {

	private static final String SEPARATOR = " ";

	private List<String> rows = new ArrayList<>();
	private String row;
	private Integer a;
	private Integer b;
	private Integer c;

	public InputData() {
	}
	
	public void setDataFromLine(BufferedReader br) throws IOException {
		this.row = br.readLine().trim();
	}
	
	public void setDataFromLines(BufferedReader br) throws IOException {
		String line;
		while((line = br.readLine()) != null) {
			this.rows.add(line.trim());
		}
	}

	public void setValues() {
		String[] values = this.row.split(SEPARATOR);
		this.setA(Integer.valueOf(values[0]));
		this.setB(Integer.valueOf(values[1]));
		this.setC(Integer.valueOf(values[2]));
	}

	public Integer getA() {
		return a;
	}

	public void setA(Integer a) {
		this.a = a;
	}

	public Integer getB() {
		return b;
	}

	public void setB(Integer b) {
		this.b = b;
	}

	public Integer getC() {
		return c;
	}

	public void setC(Integer c) {
		this.c = c;
	}
} InputData private static final String SEPARATOR = " "; SEPARATOR " " private List<String> rows = new ArrayList<>(); rows new ArrayList<>() private String row; row private Integer a; a private Integer b; b private Integer c; c public InputData() {
	} InputData {
	} public void setDataFromLine(BufferedReader br) throws IOException {
		this.row = br.readLine().trim();
	} setDataFromLine {
		this.row = br.readLine().trim();
	} this.row = br.readLine().trim() this.row this this.row br.readLine().trim() br.readLine().trim br.readLine() br.readLine br BufferedReader br br public void setDataFromLines(BufferedReader br) throws IOException {
		String line;
		while((line = br.readLine()) != null) {
			this.rows.add(line.trim());
		}
	} setDataFromLines {
		String line;
		while((line = br.readLine()) != null) {
			this.rows.add(line.trim());
		}
	} String line; line while((line = br.readLine()) != null) {
			this.rows.add(line.trim());
		} (line = br.readLine()) != null (line = br.readLine()) line br.readLine() br.readLine br null {
			this.rows.add(line.trim());
		} this.rows.add(line.trim()) this.rows.add this.rows this this.rows line.trim() line.trim line BufferedReader br br public void setValues() {
		String[] values = this.row.split(SEPARATOR);
		this.setA(Integer.valueOf(values[0]));
		this.setB(Integer.valueOf(values[1]));
		this.setC(Integer.valueOf(values[2]));
	} setValues {
		String[] values = this.row.split(SEPARATOR);
		this.setA(Integer.valueOf(values[0]));
		this.setB(Integer.valueOf(values[1]));
		this.setC(Integer.valueOf(values[2]));
	} String[] values = this.row.split(SEPARATOR); values this.row.split(SEPARATOR) this.row.split this.row this this.row SEPARATOR this.setA(Integer.valueOf(values[0])) this.setA this Integer.valueOf(values[0]) Integer.valueOf Integer values[0] values 0 this.setB(Integer.valueOf(values[1])) this.setB this Integer.valueOf(values[1]) Integer.valueOf Integer values[1] values 1 this.setC(Integer.valueOf(values[2])) this.setC this Integer.valueOf(values[2]) Integer.valueOf Integer values[2] values 2 public Integer getA() {
		return a;
	} getA {
		return a;
	} return a; a public void setA(Integer a) {
		this.a = a;
	} setA {
		this.a = a;
	} this.a = a this.a this this.a a Integer a a public Integer getB() {
		return b;
	} getB {
		return b;
	} return b; b public void setB(Integer b) {
		this.b = b;
	} setB {
		this.b = b;
	} this.b = b this.b this this.b b Integer b b public Integer getC() {
		return c;
	} getC {
		return c;
	} return c; c public void setC(Integer c) {
		this.c = c;
	} setC {
		this.c = c;
	} this.c = c this.c this this.c c Integer c c class Processing {
	private static final String RETCODE = System.getProperty("line.separator");

	private InputData inputData;

	public Processing(InputData inputData) {
		this.inputData = inputData;
	}

	public String getResult() {
		String result = null;
		int counter = 0;
		for (int i = this.inputData.getA(); i <= this.inputData.getB() ; i++) {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		}
		result = String.valueOf(counter);
		return result;
	}
} Processing private static final String RETCODE = System.getProperty("line.separator"); RETCODE System.getProperty("line.separator") System.getProperty System "line.separator" private InputData inputData; inputData public Processing(InputData inputData) {
		this.inputData = inputData;
	} Processing {
		this.inputData = inputData;
	} this.inputData = inputData this.inputData this this.inputData inputData InputData inputData inputData public String getResult() {
		String result = null;
		int counter = 0;
		for (int i = this.inputData.getA(); i <= this.inputData.getB() ; i++) {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		}
		result = String.valueOf(counter);
		return result;
	} getResult {
		String result = null;
		int counter = 0;
		for (int i = this.inputData.getA(); i <= this.inputData.getB() ; i++) {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		}
		result = String.valueOf(counter);
		return result;
	} String result = null; result null int counter = 0; counter 0 for (int i = this.inputData.getA(); i <= this.inputData.getB() ; i++) {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		} int i = this.inputData.getA(); int i = this.inputData.getA(); i this.inputData.getA() this.inputData.getA this.inputData this this.inputData i <= this.inputData.getB() i this.inputData.getB() this.inputData.getB this.inputData this this.inputData i++ i++ i {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		} {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		} if (this.inputData.getC() % i == 0) {
				counter++;
			} this.inputData.getC() % i == 0 this.inputData.getC() % i this.inputData.getC() this.inputData.getC this.inputData this this.inputData i 0 {
				counter++;
			} counter++ counter result = String.valueOf(counter) result String.valueOf(counter) String.valueOf String counter return result; result public class Main {

	/**
	 * @param args the command line arguments
	 */
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
} public class Main {

	/**
	 * @param args the command line arguments
	 */
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
} Main
/*
 * Aizu Online Judge
 */

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

/**
 *
 * @author yoshkur
 */
public class Main {

	/**
	 * @param args the command line arguments
	 */
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData();
			inputData.setDataFromLine(br);
			inputData.setValues();
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
}

class InputData {

	private static final String SEPARATOR = " ";

	private List<String> rows = new ArrayList<>();
	private String row;
	private Integer a;
	private Integer b;
	private Integer c;

	public InputData() {
	}
	
	public void setDataFromLine(BufferedReader br) throws IOException {
		this.row = br.readLine().trim();
	}
	
	public void setDataFromLines(BufferedReader br) throws IOException {
		String line;
		while((line = br.readLine()) != null) {
			this.rows.add(line.trim());
		}
	}

	public void setValues() {
		String[] values = this.row.split(SEPARATOR);
		this.setA(Integer.valueOf(values[0]));
		this.setB(Integer.valueOf(values[1]));
		this.setC(Integer.valueOf(values[2]));
	}

	public Integer getA() {
		return a;
	}

	public void setA(Integer a) {
		this.a = a;
	}

	public Integer getB() {
		return b;
	}

	public void setB(Integer b) {
		this.b = b;
	}

	public Integer getC() {
		return c;
	}

	public void setC(Integer c) {
		this.c = c;
	}
}

class Processing {
	private static final String RETCODE = System.getProperty("line.separator");

	private InputData inputData;

	public Processing(InputData inputData) {
		this.inputData = inputData;
	}

	public String getResult() {
		String result = null;
		int counter = 0;
		for (int i = this.inputData.getA(); i <= this.inputData.getB() ; i++) {
			if (this.inputData.getC() % i == 0) {
				counter++;
			}
		}
		result = String.valueOf(counter);
		return result;
	}
}