i,n,m,q;main(p){for(gets(&q);~scanf("%d%d",&p,&q);n=m
499999;puts(q?"YES":"NO");for(p=6;q&&p--;printf("%d\n",i));}