#include <bits/stdc++.h>
using namespace std;
long long int tc = 1;
void solve() {
  long long int n;
  cin >> n;
  if (n % 4 == 0)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int t;
  cin >> t;
  while (t--) solve();
}
