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