import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main{

	public static void main(String[] args) {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	}
} Main public static void main(String[] args) {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	} main {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	} int a a b b c; c int i i cnt=0; cnt 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    } i=a; i=a i a i<=b i b i++ i++ i {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    } {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    } cnt = (c%i==0) ? ++cnt : cnt cnt (c%i==0) ? ++cnt : cnt (c%i==0) c%i c i 0 ++cnt cnt cnt System.out.println(cnt) System.out.println System.out System System.out cnt scan.close() scan.close scan String[] args args public class Main{

	public static void main(String[] args) {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	}
} public class Main{

	public static void main(String[] args) {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	}
} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		int a,b,c;
		int i,cnt=0;

		Scanner scan = new Scanner(System.in);

	    a = scan.nextInt();
	    b = scan.nextInt();
	    c = scan.nextInt();

	    for(i=a; i<=b; i++)
	    {
	    	cnt = (c%i==0) ? ++cnt : cnt;
	    }

	    System.out.println(cnt);

		scan.close();
	}
}