import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		}
		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		}
		System.out.println(count);
	}
} Main public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		}
		System.out.println(count);
	} main {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		}
		System.out.println(count);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int count = 0; count 0 for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		} int i = a; int i = a; i a i < b + 1 i b + 1 b 1 i++ i++ i {
			if(c % i == 0)
			{
				count++;
			}
		} {
			if(c % i == 0)
			{
				count++;
			}
		} if(c % i == 0)
			{
				count++;
			} c % i == 0 c % i c i 0 {
				count++;
			} 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)
	{
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		}
		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a;i < b + 1;i++)
		{
			if(c % i == 0)
			{
				count++;
			}
		}
		System.out.println(count);
	}
} Main
import java.util.Scanner;

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