#include <bits/stdc++.h>
const int N = 0;
using namespace std;
int main() {
  int n;
  cin >> n;
  int n2 = 0;
  int n4 = 0;
  int no = 0;
  for (int i = 0, almo5t = n; i < almo5t; ++i) {
    int val;
    cin >> val;
    if (val % 2 == 0 && val % 4 == 0) {
      n4++;
    } else if (val % 2 == 0) {
      n2++;
    } else if (val != 1) {
      no++;
    }
  }
  n2 = n2 - 2 * floor((double)n2 / 2);
  no = no + n2 - n4;
  if (no <= 0 && n4 > 0) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}
