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