#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0;
  while (cin >> n && n) {
    long long x = 0;
    int cnt = 0;
    for (int i = 0; i < n; i++) {
      cin >> x;
      if (x % 4 == 0) cnt++;
    }
    int y = n - cnt * 3;
    if (!(y > 0))
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
