对于每次询问, 如果 ai 能够表示为题目描述的形式则输出 yes,否则输出 no 。
7 2 6 12 4 8 24 72 \n \n \n \n \n \n \n \n
7 2 6 12 4 8 24 72
\n \n \n \n \n \n \n \n
no no no yes yes no yes \n \n \n \n \n \n \n
no no no yes yes no yes
\n \n \n \n \n \n \n