#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t, ans;
  long long int i, j, n;
  cin >> t;
  while (t--) {
    string ans = "NO";
    cin >> n;
    if (n % 4 == 0) {
      ans = "YES";
    }
    cout << ans << endl;
  }
}
