#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve() {
  int n;
  cin >> n;
  puts(n % 4 ? "NO" : "YES");
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int ts;
  cin >> ts;
  while (ts--) solve();
}
