#include <bits/stdc++.h>
using namespace std;
using ull = unsigned long long;
int main() {
  ull N;
  ull cnt_mul2, cnt_mul4, cnt_odd;
  cnt_mul4 = cnt_mul2 = cnt_odd = 0;
  cin >> N;
  for (ull i = 0; i < N; i++) {
    ull tmp;
    cin >> tmp;
    if (tmp % 4 == 0) {
      cnt_mul4++;
    } else if (tmp % 2 == 0) {
      cnt_mul2++;
    } else {
      cnt_odd++;
    }
  }
  if (cnt_mul2 == 0 || cnt_mul2 >= 2) {
    if (cnt_mul4 > 0 && cnt_mul4 + 1 >= cnt_odd)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (cnt_mul4 > 0 && cnt_mul4 + 1 >= cnt_odd + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
