#include <bits/stdc++.h>
using namespace std;
void solve() {
  int i, j, k, n, m, ans = 0, cnt = 0, sum = 0;
  cin >> n;
  if (n % 4 == 0)
    cout << "YES"
         << "\n";
  else
    cout << "NO"
         << "\n";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}
