#include <bits/stdc++.h>
using namespace std;
int main() {
  int tt;
  cin >> tt;
  while (tt--) {
    long long n;
    cin >> n;
    int i = (n - 2) * 180 / n;
    if (n % 4 == 0)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
}
