#include <bits/stdc++.h>
using namespace std;
void cpSetup() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int32_t main() {
  cpSetup();
  long long t;
  cin >> t;
  while (t--) {
    long long a;
    cin >> a;
    if (a % 4 != 0)
      cout << "NO";
    else
      cout << "YES";
    cout << endl;
  }
  return 0;
}
