#include <bits/stdc++.h>
using namespace std;
const int VX[] = {0, 1, 0, -1};
const int VY[] = {1, 0, -1, 0};
const long MOD = 1000000007;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N;
  cin >> N;
  vector<int> a(N);
  for (int i = (0); i < (N); i++) cin >> a[i];
  int can_div4 = 0, two = 0, can_div2 = 0;
  for (int i = (0); i < (N); i++) {
    if (a[i] == 2)
      two++;
    else if (a[i] % 4 == 0)
      can_div4++;
    else if (a[i] % 2 == 0)
      can_div2++;
  }
  int x = N - can_div2 - can_div4 - two;
  int y = min(can_div2 % 2, two);
  can_div2 -= y * 2;
  if (y == 0)
    two %= 2;
  else
    two = 0;
  int z = y + x;
  if (y + x - can_div4 <= 1) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
  return 0;
}
