#include <bits/stdc++.h>
using namespace std;
double inff = 1.0 / 0.0;
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
long long int x, y, n, i, z, j, k, w, u, q, m, d, t, g;
void solve() {
  cin >> n;
  if (n % 4 == 0) {
    cout << "YES"
         << "\n";
  } else {
    cout << "NO"
         << "\n";
  }
}
int main() {
  int TESTS = 1;
  ios::sync_with_stdio(false), cout.tie(0), cin.tie(0);
  ;
  cin >> TESTS;
  while (TESTS--) {
    solve();
  }
}
