solution

factorするだけ

implementation

@a=split$",`factor`;
print length('  ')==~~@a?YES:NO