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