A certain number has exactly eight factors including $1$ and itself. Two of its factors are $21$ and $35$. What is the number?