

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

public class Main{

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int a = Integer.parseInt(s[0]);
		int b = Integer.parseInt(s[0]);
		int c = Integer.parseInt(s[0]);
		int count = 0;
		for(int i = a ; i < b+1;i++){
			if(c%i==0){
				count++;
			}
		}
		System.out.println(count);
	}

}