import java.util.Scanner;
public class Main{

    int a,b,c;
    int count;


    public void input(){
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    }
    public void output(){
	System.out.println(count);


    }
    



    public static void main(String[] args){
	Main  p = new Main();
	p.input();
       	p.output();
    }
} import java.util.Scanner; Scanner java.util public class Main{

    int a,b,c;
    int count;


    public void input(){
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    }
    public void output(){
	System.out.println(count);


    }
    



    public static void main(String[] args){
	Main  p = new Main();
	p.input();
       	p.output();
    }
} Main int a a b b c; c int count; count public void input(){
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    } input {
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) count = 0 count 0 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(int i = a;i <= b;i++){
	    if(c % i == 0){
		count = count + 1;
	    }
	} int i = a; int i = a; i a i <= b i b i++ i++ i {
	    if(c % i == 0){
		count = count + 1;
	    }
	} {
	    if(c % i == 0){
		count = count + 1;
	    }
	} if(c % i == 0){
		count = count + 1;
	    } c % i == 0 c % i c i 0 {
		count = count + 1;
	    } count = count + 1 count count + 1 count 1 public void output(){
	System.out.println(count);


    } output {
	System.out.println(count);


    } System.out.println(count) System.out.println System.out System System.out count public static void main(String[] args){
	Main  p = new Main();
	p.input();
       	p.output();
    } main {
	Main  p = new Main();
	p.input();
       	p.output();
    } Main  p = new Main(); p new Main() p.input() p.input p p.output() p.output p String[] args args public class Main{

    int a,b,c;
    int count;


    public void input(){
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    }
    public void output(){
	System.out.println(count);


    }
    



    public static void main(String[] args){
	Main  p = new Main();
	p.input();
       	p.output();
    }
} public class Main{

    int a,b,c;
    int count;


    public void input(){
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    }
    public void output(){
	System.out.println(count);


    }
    



    public static void main(String[] args){
	Main  p = new Main();
	p.input();
       	p.output();
    }
} Main
import java.util.Scanner;
public class Main{

    int a,b,c;
    int count;


    public void input(){
	Scanner scan = new Scanner(System.in);
	count = 0;
	a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();

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



    }
    public void output(){
	System.out.println(count);


    }
    



    public static void main(String[] args){
	Main  p = new Main();
	p.input();
       	p.output();
    }
}