A = []
x = 0
y = 0
count = 2481
while count <= 14832:
if count % 5 == 0 and count % 11 == 0 and count % 6 != 0 and count % 10 != 0 and count % 23 != 0:
x += 1
A.append(x)
count = 0
while count <= len(A):
if y < int(A[count]):
y = int(A[count])
count += 1
print(x, y)
ну по идее воть))