def list_maker(num):
    num_list = []
    for i in range(1, num + 1):
        num_list.append(i)
    return num_list


a, b, c = map(int, input().split())

num_list = list_maker(c)
divisor_list = []

for i in num_list:
    if c % i == 0:
        if i >= 5 and i <= 14:
            divisor_list.append(i)

print(len(divisor_list))
