using namespace std; int a,n; int main() { cin>>a; for(int q=1;q<=a;q++){ cin>>n; if(n%4==0&&n%100!=0) cout<<"yes"<<endl; else cout<<"no"<<endl; }
return 0;
}