#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int test;
  cin >> test;
  while (test--) {
    long long int n, b, m, c = 0, prev_i, x, top = 0, prev_top = 0;
    cin >> n;
    if (n % 4 == 0)
      cout << "YES"
           << "\n";
    else
      cout << "NO"
           << "\n";
  }
}
