import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next()),
		    c=Integer.parseInt(s.next()),
		    cnt=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)
				cnt++;
		}
		System.out.println(cnt);
	}
} import java.util.*; util.* java class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next()),
		    c=Integer.parseInt(s.next()),
		    cnt=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)
				cnt++;
		}
		System.out.println(cnt);
	}
} Main static Scanner s = new Scanner(System.in); s new Scanner(System.in) public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next()),
		    c=Integer.parseInt(s.next()),
		    cnt=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)
				cnt++;
		}
		System.out.println(cnt);
	} main {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next()),
		    c=Integer.parseInt(s.next()),
		    cnt=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)
				cnt++;
		}
		System.out.println(cnt);
	} int a=Integer.parseInt(s.next()) a Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s b=Integer.parseInt(s.next()) b Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s c=Integer.parseInt(s.next()) c Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s cnt=0; cnt 0 for(int i=a;i<=b;i++) {
			if(c%i==0)
				cnt++;
		} int i=a; int i=a; i a i<=b i b i++ i++ i {
			if(c%i==0)
				cnt++;
		} {
			if(c%i==0)
				cnt++;
		} if(c%i==0)
				cnt++; c%i==0 c%i c i 0 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args
import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next()),
		    c=Integer.parseInt(s.next()),
		    cnt=0;
		for(int i=a;i<=b;i++) {
			if(c%i==0)
				cnt++;
		}
		System.out.println(cnt);
	}
}