#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18;
const int BIG = 1e9 + 555;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int oddCnt = 0, evenCnt = 0, div4Cnt = 0;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      div4Cnt++;
      continue;
    }
    if (x % 2 == 0) {
      evenCnt++;
    }
    if (x % 2 != 0) {
      oddCnt++;
    }
  }
  if (evenCnt == 0) {
    if (div4Cnt >= max(oddCnt - 1, 1)) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
    return 0;
  }
  oddCnt++;
  if (div4Cnt >= max(oddCnt - 1, 1)) {
    cout << "Yes\n";
    return 0;
  }
  cout << "No\n";
  return 0;
}
