import java.util.Scanner;
import java.util.stream.IntStream;

public class ITP1_3_D {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = Integer.parseInt(scanner.next());
        int b = Integer.parseInt(scanner.next());
        int c = Integer.parseInt(scanner.next());

        long answer = IntStream.range(a, b + 1).filter(value -> (c % value == 0)).count();

        System.out.println(answer);
    }
}