import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
}
static void diviNum(int a, int b, int c){
int x=0;
int i=b-a+1;
for(int j=0;j<i;j++){
if(c%a==0)  x++;
a++;
}
System.out.println(x);
}
} import java.io.*; io.* java class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
}
static void diviNum(int a, int b, int c){
int x=0;
int i=b-a+1;
for(int j=0;j<i;j++){
if(c%a==0)  x++;
a++;
}
System.out.println(x);
}
} Main public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
} main {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str=br.readLine(); str br.readLine() br.readLine br String[] arr=str.split(" "); arr str.split(" ") str.split str " " int a=Integer.parseInt(arr[0]); a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int b=Integer.parseInt(arr[1]); b Integer.parseInt(arr[1]) Integer.parseInt Integer arr[1] arr 1 int c=Integer.parseInt(arr[2]); c Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 diviNum(a, b, c) diviNum a b c br.close() br.close br String[] args args static void diviNum(int a, int b, int c){
int x=0;
int i=b-a+1;
for(int j=0;j<i;j++){
if(c%a==0)  x++;
a++;
}
System.out.println(x);
} diviNum {
int x=0;
int i=b-a+1;
for(int j=0;j<i;j++){
if(c%a==0)  x++;
a++;
}
System.out.println(x);
} int x=0; x 0 int i=b-a+1; i b-a+1 b-a b a 1 for(int j=0;j<i;j++){
if(c%a==0)  x++;
a++;
} int j=0; int j=0; j 0 j<i j i j++ j++ j {
if(c%a==0)  x++;
a++;
} {
if(c%a==0)  x++;
a++;
} if(c%a==0)  x++; c%a==0 c%a c a 0 x++ x a++ a System.out.println(x) System.out.println System.out System System.out x int a a int b b int c c
import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
}
static void diviNum(int a, int b, int c){
int x=0;
int i=b-a+1;
for(int j=0;j<i;j++){
if(c%a==0)  x++;
a++;
}
System.out.println(x);
}
}