#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long T = 1;
  cin >> T;
  while (T--) {
    long long n;
    cin >> n;
    if (n % 2) {
      cout << "NO"
           << "\n";
      continue;
    }
    n -= 2;
    n /= 2;
    if (n % 2) {
      cout << "YES"
           << "\n";
    } else {
      cout << "NO"
           << "\n";
    }
  }
  return 0;
}
