#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  long long cnt = 0, cnt2 = 0;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      cnt++;
    }
    if (x == 2) cnt2++;
  }
  long long good = 1ll * cnt * 2;
  if (cnt2 >= 2) good += cnt2;
  if (good >= n - 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
