ll@q,@a[q];wtLn(FactorM(a(q))^3?"No":"Yes");