Let's consider a table consisting of *n* rows and *n* columns. The cell located at the intersection of *i*-th row and *j*-th column contains number *i* × *j*. The rows and columns are numbered starting from 1.

You are given a positive integer *x*. Your task is to count the number of cells in a table that contain number *x*.
The single line contains numbers *n* and *x* (1 ≤ *n* ≤ 10<sup class="upper-index">5</sup>, 1 ≤ *x* ≤ 10<sup class="upper-index">9</sup>) — the size of the table and the number that we are looking for in the table.
# 18. Цикл While
# Задача#1 - ряд чисел 1
# i=50
# while i>=50 and i<=150:
#     print(i,end=' ')
#     i+=1

# Задача#2 - ряд чисел 2
# i=13
# while i>=13 and i<=349:
#      print(i,end=' ')
#      i+=7

# Задача#3 - Поехали
# i = 15
# while i<=15 and i>=0:
#     print(i)
#     i = i - 1
# print('Поехали!')

# Задача#4 - Я последняя буква в алфавите
# y=input()
# while y[0]=='я' or y[0]=='Я':
#     print(y)
#     y=input()

# Задача#5 - Список квадратов
# i = int(input())
# n = 1
# while i>=n**2:
#     print(n**2)
#     n+=1

# 21. Цикл While. Нахождение всех делителей числа
# Задача#1 - Таблица умножения - вараинт 1 долгий
# n,x = map (int,input().split())
# count = 0
# for i in range (1, n+1):
#     for j in range(1, n + 1):
#         if i*j == x:
#             # print(f'{i}*{j}={i*j}')
#             count+=1
# print(count)

# Вариант 2 - быстрый
n, x = map(int, input().split())
count = 0
i = 1
while i * i <= x:
    if x % i == 0 and i<=n and x//i <=n:
        # print(i, x//i)
        if i != x//i:
            count += 2
        else:
            count += 1
    i += 1
print(count)