#include <bits/stdc++.h>
using namespace std;
long long n, t;
void GO_FAST() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  GO_FAST();
  cin >> t;
  while (t--) {
    cin >> n;
    if (n % 4 == 0) {
      cout << "YES" << endl;
      continue;
    }
    cout << "NO" << endl;
  }
}
