#include <bits/stdc++.h>
using namespace std;
int T;
long long n;
int main() {
  cin >> T;
  while (T--) {
    scanf("%lld", &n);
    if (n % 4 == 0)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
}
