import java.util.Scanner;
class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		int a,b,c,count;

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

		a=kb.nextInt();
		b=kb.nextInt();
		c=kb.nextInt();
		count=0;
		for( int i=a; i<=b; i++) {
			if( 0 == c%i ) {
				count++;
			}
		}
		System.out.println( count );	
	}
} Main public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		int a,b,c,count;

		a=kb.nextInt();
		b=kb.nextInt();
		c=kb.nextInt();
		count=0;
		for( int i=a; i<=b; i++) {
			if( 0 == c%i ) {
				count++;
			}
		}
		System.out.println( count );	
	} main {
		Scanner kb = new Scanner( System.in);	
		int a,b,c,count;

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

		a=kb.nextInt();
		b=kb.nextInt();
		c=kb.nextInt();
		count=0;
		for( int i=a; i<=b; i++) {
			if( 0 == c%i ) {
				count++;
			}
		}
		System.out.println( count );	
	}
}