#include #include #include #include #include #include #include #include #define rep(i,l,n) for(lint i=l;i vi; typedef vector vli; typedef vector vvi; typedef pair pii; int main(){ lint n,g,d,MAX=0,ans=0; cin>>n; vli data(n,0); rep(i,0,n){ cin>>g>>d; if(MAX=3000000){ o("YES"); rep(i,0,6){ o(ans); } }else{ o("NO"); } }