// ITP1_3

import java.util.Scanner;

class Main
{
	public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );

		int a = 0;
		int b = 0;
		int c = 0;
		int d = 0;
		int count = 0;

		a = sc.nextInt ();
		b = sc.nextInt ();
		c = sc.nextInt ();
		d = a;
	
		for (; a <= b; a++ ) {
			if ( c % a == 0 ) {
				count++;
			}
		}

		System.out.println ( count );
	}
} import java.util.Scanner; Scanner java.util class Main
{
	public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );

		int a = 0;
		int b = 0;
		int c = 0;
		int d = 0;
		int count = 0;

		a = sc.nextInt ();
		b = sc.nextInt ();
		c = sc.nextInt ();
		d = a;
	
		for (; a <= b; a++ ) {
			if ( c % a == 0 ) {
				count++;
			}
		}

		System.out.println ( count );
	}
} Main public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );

		int a = 0;
		int b = 0;
		int c = 0;
		int d = 0;
		int count = 0;

		a = sc.nextInt ();
		b = sc.nextInt ();
		c = sc.nextInt ();
		d = a;
	
		for (; a <= b; a++ ) {
			if ( c % a == 0 ) {
				count++;
			}
		}

		System.out.println ( count );
	} main {
		Scanner sc = new Scanner ( System.in );

		int a = 0;
		int b = 0;
		int c = 0;
		int d = 0;
		int count = 0;

		a = sc.nextInt ();
		b = sc.nextInt ();
		c = sc.nextInt ();
		d = a;
	
		for (; a <= b; a++ ) {
			if ( c % a == 0 ) {
				count++;
			}
		}

		System.out.println ( count );
	} Scanner sc = new Scanner ( System.in ); sc new Scanner ( System.in ) int a = 0; a 0 int b = 0; b 0 int c = 0; c 0 int d = 0; d 0 int count = 0; count 0 a = sc.nextInt () a sc.nextInt () sc.nextInt sc b = sc.nextInt () b sc.nextInt () sc.nextInt sc c = sc.nextInt () c sc.nextInt () sc.nextInt sc d = a d a for (; a <= b; a++ ) {
			if ( c % a == 0 ) {
				count++;
			}
		} ; a <= b a b a++ a++ a {
			if ( c % a == 0 ) {
				count++;
			}
		} {
			if ( c % a == 0 ) {
				count++;
			}
		} if ( c % a == 0 ) {
				count++;
			} c % a == 0 c % a c a 0 {
				count++;
			} count++ count System.out.println ( count ) System.out.println System.out System System.out count String[] args args
// ITP1_3

import java.util.Scanner;

class Main
{
	public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );

		int a = 0;
		int b = 0;
		int c = 0;
		int d = 0;
		int count = 0;

		a = sc.nextInt ();
		b = sc.nextInt ();
		c = sc.nextInt ();
		d = a;
	
		for (; a <= b; a++ ) {
			if ( c % a == 0 ) {
				count++;
			}
		}

		System.out.println ( count );
	}
}