import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = r.readLine();       
        
        int cnt=0;

        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
        int c = Integer.parseInt(st[2]);

        for(int i = a ; i <=b ; i++){
            if (c % i == 0) cnt++;
        }
        System.out.println(cnt);         
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = r.readLine();       
        
        int cnt=0;

        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
        int c = Integer.parseInt(st[2]);

        for(int i = a ; i <=b ; i++){
            if (c % i == 0) cnt++;
        }
        System.out.println(cnt);         
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = r.readLine();       
        
        int cnt=0;

        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
        int c = Integer.parseInt(st[2]);

        for(int i = a ; i <=b ; i++){
            if (c % i == 0) cnt++;
        }
        System.out.println(cnt);         
    } main {
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = r.readLine();       
        
        int cnt=0;

        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
        int c = Integer.parseInt(st[2]);

        for(int i = a ; i <=b ; i++){
            if (c % i == 0) cnt++;
        }
        System.out.println(cnt);         
    } BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in)); r new BufferedReader(new InputStreamReader(System.in)) String line = r.readLine(); line r.readLine() r.readLine r int cnt=0; cnt 0 String st[] = line.split(" ",0); st line.split(" ",0) line.split line " " 0 int a = Integer.parseInt(st[0]); a Integer.parseInt(st[0]) Integer.parseInt Integer st[0] st 0 int b = Integer.parseInt(st[1]); b Integer.parseInt(st[1]) Integer.parseInt Integer st[1] st 1 int c = Integer.parseInt(st[2]); c Integer.parseInt(st[2]) Integer.parseInt Integer st[2] st 2 for(int i = a ; i <=b ; i++){
            if (c % i == 0) cnt++;
        } int i = a ; int i = a ; i a i <=b i b i++ i++ i {
            if (c % i == 0) cnt++;
        } {
            if (c % i == 0) cnt++;
        } if (c % i == 0) cnt++; c % i == 0 c % i c i 0 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args
import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = r.readLine();       
        
        int cnt=0;

        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
        int c = Integer.parseInt(st[2]);

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