#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long n;
  cin >> n;
  if (n % 4 == 0)
    cout << "YES" << '\n';
  else
    cout << "NO" << '\n';
}
int main() {
  int t;
  cin >> t;
  while (t--) solve();
}
