#include <bits/stdc++.h>
using namespace std;
const int inf = 2147483647;
const int Maxn = 1e5 + 5;
const int Minn = 1e3 + 5;
const int mx[] = {0, 0, 1, -1, 1, -1, -1, 1};
const int my[] = {1, -1, 0, 0, -1, 1, -1, 1};
int main() {
  int t;
  cin >> t;
  while (t--) {
    int x;
    cin >> x;
    if (x % 4 == 0 && x != 0)
      printf("YES\n");
    else
      printf("NO\n");
  }
  return 0;
}
