import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	} main {
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	} Scanner br = new Scanner(System.in); br new Scanner(System.in) int t=0; t 0 String[] str = br.nextLine().split(" "); str br.nextLine().split(" ") br.nextLine().split br.nextLine() br.nextLine br " " int[] a=new int[str.length]; a new int[str.length] str.length str str.length for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		} int i=0; int i=0; i 0 i<str.length i str.length str str.length i++ i++ i {
			a[i]=Integer.parseInt(str[i]);
		} {
			a[i]=Integer.parseInt(str[i]);
		} a[i]=Integer.parseInt(str[i]) a[i] a i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		} int i=a[0]; int i=a[0]; i a[0] a 0 i<=a[1] i a[1] a 1 i++ i++ i {
			if((a[2]%i)==0){
				++t;
			}
		} {
			if((a[2]%i)==0){
				++t;
			}
		} if((a[2]%i)==0){
				++t;
			} (a[2]%i)==0 (a[2]%i) a[2] a 2 i 0 {
				++t;
			} ++t t System.out.println(t) System.out.println System.out System System.out t String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner br = new Scanner(System.in);
		int t=0;
		String[] str = br.nextLine().split(" ");
		int[] a=new int[str.length];
		for (int i=0;i<str.length;i++){
			a[i]=Integer.parseInt(str[i]);
		}
		for (int i=a[0];i<=a[1];i++){
			if((a[2]%i)==0){
				++t;
			}
		}
		System.out.println(t);
	}
}