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