public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	} main {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	} java.util.Scanner sc = new java.util.Scanner(System.in); sc new java.util.Scanner(System.in) int a a b b c; c 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 int count = 0; count 0 for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		} int div = a; int div = a; div a div <= b div b div++ div++ div {
			if ( c % div == 0 )
				count++;
		} {
			if ( c % div == 0 )
				count++;
		} if ( c % div == 0 )
				count++; c % div == 0 c % div c div 0 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) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	}

} Main
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int count = 0;
		for ( int div = a; div <= b; div++) {
			if ( c % div == 0 )
				count++;
		}

		System.out.println(count);
	}

}