#include <iostream> using namespace std; int main() { int T,x;cin>>T; while(T--){ cin>>x; if(x%2==0)cout<<"YES"<<endl;else cout<<"NO"<<endl;//有偶数因子则一定为2的倍数 } } // 64 位输出请用 printf("%lld")