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