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

public class Main {
    public static void main (String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} 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.List; List java.util public class Main {
    public static void main (String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} Main public static void main (String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " List<Integer> nums = new ArrayList<>(); nums new ArrayList<>() for (String s : str) {
            nums.add(Integer.valueOf(s));
        } String s str {
            nums.add(Integer.valueOf(s));
        } {
            nums.add(Integer.valueOf(s));
        } nums.add(Integer.valueOf(s)) nums.add nums Integer.valueOf(s) Integer.valueOf Integer s int count = 0; count 0 for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        } int i = nums.get(0); int i = nums.get(0); i nums.get(0) nums.get nums 0 i <= nums.get(1) i nums.get(1) nums.get nums 1 i++ i++ i {
            if (nums.get(2) % i == 0) {
                count++;
            }
        } {
            if (nums.get(2) % i == 0) {
                count++;
            }
        } if (nums.get(2) % i == 0) {
                count++;
            } nums.get(2) % i == 0 nums.get(2) % i nums.get(2) nums.get nums 2 i 0 {
                count++;
            } count++ count System.out.println(count) System.out.println System.out System System.out count String args[] args public class Main {
    public static void main (String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} public class Main {
    public static void main (String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main (String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        List<Integer> nums = new ArrayList<>();
        for (String s : str) {
            nums.add(Integer.valueOf(s));
        }
        int count = 0;
        for (int i = nums.get(0); i <= nums.get(1); i++) {
            if (nums.get(2) % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
}
