

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


public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 }
    } 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 {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 }
    } Main public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 } main {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 } try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
} catch (Exception e) {
	// TODO: handle exception
} Exception e {
	// TODO: handle exception
} {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) String input = buf.readLine(); input buf.readLine() buf.readLine buf String[] strAry = input.split(" "); strAry input.split(" ") input.split input " " int a = Integer.parseInt(strAry[0]); a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 int b = Integer.parseInt(strAry[1]); b Integer.parseInt(strAry[1]) Integer.parseInt Integer strAry[1] strAry 1 int c = Integer.parseInt(strAry[2]); c Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 int count = 0; count 0 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 {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 }
    } public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 }
    } Main


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


public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 }
    }