REP(rd_ll()){ll@n;wt(n<2|n==4|n==6?"No":"Yes");}