#prime N=int(input()) C=0 i=2 while C<3 and i*i<=N: if N%i==0: C+=1 if C==3: ptint("YES") else: print("NO")