Let $M$ be the least common multiple of all the integers $10$ through $30$, inclusive. Let $N$ be the least common multiple of $M$, $32$, $33$, $34$, $35$, $36$, $37$, $38$, $39$, and $40$. What is the value of $\frac{N}{M}$?

Let's think step by step and output the final answer within \boxed{}.
user