#include <bits/stdc++.h>
using namespace std;
const int N = 100010;
int a[N];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0), cout.tie(0);
  int n;
  cin >> n;
  int cnt2 = 0, cnt4 = 0, cnt1;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 != 0 && a[i] % 2 == 0) cnt2++;
    if (a[i] % 4 == 0) cnt4++;
    if (a[i] % 2) cnt1++;
  }
  if (cnt4 == 0) {
    if (cnt1 == 0)
      cout << "Yes\n";
    else
      cout << "No\n";
  } else {
    if (cnt2 > 0) {
      if (cnt1 <= cnt4)
        cout << "Yes\n";
      else
        cout << "No\n";
    } else {
      if (cnt1 <= cnt4 + 1)
        cout << "Yes\n";
      else
        cout << "No\n";
    }
  }
  return 0;
}
