#include <bits/stdc++.h>
using namespace std;
int a[100010];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int cnt_4 = 0, cnt_2 = 0, cnt_1 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      cnt_4++;
    } else if (a[i] % 2 == 0) {
      cnt_2++;
    } else {
      cnt_1++;
    }
  }
  if (cnt_1 > cnt_4 + 1) {
    cout << "No";
    return 0;
  }
  cout << "Yes";
  return 0;
}
