import java.util.Scanner;

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

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

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

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

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

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

    		for(int x=a;x<=b;x++){
    			if(c%x==0){
    			y++;
    		}
    		}
    		System.out.println(y);
    		} main {
    	Scanner sc = new Scanner(System.in);

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

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

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

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

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

    		for(int x=a;x<=b;x++){
    			if(c%x==0){
    			y++;
    		}
    		}
    		System.out.println(y);
    		}
    		} Main
import java.util.Scanner;

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

    		int a=sc.nextInt();
    		int b=sc.nextInt();
    		int c=sc.nextInt();
    		int y=0;

    		for(int x=a;x<=b;x++){
    			if(c%x==0){
    			y++;
    		}
    		}
    		System.out.println(y);
    		}
    		}
    		
