Let $a$ be the smallest positive integer such that $a^{-1}$ is undefined $\pmod{55}$ and $a^{-1}$ is also undefined $\pmod{66}$. What is the value of $a$? Let's think step by step and output the final answer within \boxed{}.
user