#include <bits/stdc++.h>
using namespace std;
static const long long maxLL = (long long)1 << 62;
const int mod = 1e9 + 7;
int main() {
  int n;
  cin >> n;
  int a[100101];
  int cnt2 = 0;
  int cnt4 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      cnt4++;
    else if (a[i] % 2 == 0)
      cnt2++;
  }
  int x = n - 2 * cnt4 - 1;
  bool can = false;
  if (n / 2 <= cnt4)
    can = true;
  else if (x == n)
    can = true;
  else if (x <= cnt2 && 2 <= cnt2)
    can = true;
  if (can)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
