from math import comb

print (comb(5, 3))
print (comb(23, 10))

total=0

for n in range(1, 100+1):
    for r in range(1, 100+1):
        if comb(n, r)>=10**6:
            total+=1

print ("total", total)

