#include <bits/stdc++.h>
using namespace std;
int t;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0);
  cin >> t;
  for (int t0 = 1; t0 <= t; t0++) {
    int n;
    cin >> n;
    if (n % 4 == 0) {
      cout << "YES\n";
    } else {
      cout << "NO\n";
    }
  }
  return 0;
}
