#include <bits/stdc++.h>
using namespace std;
int main() {
  int T = 0;
  cin >> T;
  for (int i = 0; i < T; i++) {
    int n = 0;
    cin >> n;
    if (n % 4 == 0)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
