#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, dv = 0, tw = 0;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a;
    if (a % 4 == 0) ++dv;
    if (a == 2) ++tw;
  }
  if (tw > 0) n -= (tw - 1);
  if (n - dv > dv + 1)
    cout << "No\n";
  else
    cout << "Yes\n";
}
