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();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	}

} 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();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	}

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

	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String line = br.readLine();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	} main {

	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String line = br.readLine();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br line = line.trim() line line.trim() line.trim line String[] readLineArray = line.split("[\\s+]"); readLineArray line.split("[\\s+]") line.split line "[\\s+]" int count = 0; count 0 int a = Integer.parseInt(readLineArray[0]); a Integer.parseInt(readLineArray[0]) Integer.parseInt Integer readLineArray[0] readLineArray 0 int b = Integer.parseInt(readLineArray[1]); b Integer.parseInt(readLineArray[1]) Integer.parseInt Integer readLineArray[1] readLineArray 1 int c = Integer.parseInt(readLineArray[2]); c Integer.parseInt(readLineArray[2]) Integer.parseInt Integer readLineArray[2] readLineArray 2 for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    } int i = a; int i = a; i a i<=b i b i++ i++ i {
	    	if(c%i ==0){
	    		count++;
	    	}
	    } {
	    	if(c%i ==0){
	    		count++;
	    	}
	    } if(c%i ==0){
	    		count++;
	    	} c%i ==0 c%i c i 0 {
	    		count++;
	    	} count++ count System.out.println(count) System.out.println System.out System System.out count 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();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	}

} public class Main {

	public static void main(String[] args)throws Exception {

	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String line = br.readLine();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	}

} 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();
	    //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
	    line = line.trim();
	    //半角スペースを区切り文字として扱う
	    String[] readLineArray = line.split("[\\s+]");
	    //変数に配列を代入
	    int count = 0;
	    int a = Integer.parseInt(readLineArray[0]);
	    int b = Integer.parseInt(readLineArray[1]);
	    int c = Integer.parseInt(readLineArray[2]);
	    for (int i = a;i<=b;i++){
	    	if(c%i ==0){
	    		count++;
	    	}
	    }
	    System.out.println(count);
	}

}