print`factor|wc -w`>3?YES:NO