import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;

public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Iterator; Iterator java.util public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    } main {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    } try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        } catch (IOException e) {
            System.err.println(e);
        } IOException e {
            System.err.println(e);
        } System.err.println(e) System.err.println System.err System System.err e {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br String[] strArray = new String[3]; strArray new String[3] 3 int[] intArray = new int[3]; intArray new int[3] 3 int count = 0; count 0 strArray = line.split("\\s") strArray line.split("\\s") line.split line "\\s" for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
				intArray[i] =Integer.parseInt(strArray[i]);
			} {
				intArray[i] =Integer.parseInt(strArray[i]);
			} intArray[i] =Integer.parseInt(strArray[i]) intArray[i] intArray i Integer.parseInt(strArray[i]) Integer.parseInt Integer strArray[i] strArray i for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			} int i = intArray[0]; int i = intArray[0]; i intArray[0] intArray 0 i < intArray[1] + 1 i intArray[1] + 1 intArray[1] intArray 1 1 i++ i++ i {
				if(intArray[2] % i == 0)
					count++;
			} {
				if(intArray[2] % i == 0)
					count++;
			} if(intArray[2] % i == 0)
					count++; intArray[2] % i == 0 intArray[2] % i intArray[2] intArray 2 i 0 count++ count System.out.println(count) System.out.println System.out System System.out count br.close() br.close br String[] args args public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;

public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[3];
            int[] intArray = new int[3];
            int count = 0;
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				intArray[i] =Integer.parseInt(strArray[i]);
			}
            for (int i = intArray[0]; i < intArray[1] + 1; i++) {
				if(intArray[2] % i == 0)
					count++;
			}
            System.out.println(count);
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
}