#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long int t;
  cin >> t;
  while (t--) {
    long long int i, j, n, x, y, z, te = 0, x1, y1, z1, m, d = 0, k, sum = 0, p;
    string s;
    cin >> n;
    if (n % 4 == 0)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
