#include <bits/stdc++.h>
using namespace std;
template <typename... T>
void rd(T&... args) {
  ((cin >> args), ...);
}
template <typename... T>
void wt(T&&... args) {
  ((cout << args << " "), ...);
}
long long mod(long long V, long long N) { return ((V % N) + N) % N; }
bool solve() {
  int N;
  cin >> N;
  return N % 4 == 0;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int T;
  rd(T);
  for (int i = 0; i < T; i++) {
    bool result = solve();
    if (result)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
