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