#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
int a[maxn];
int main() {
  int n;
  scanf("%d", &n);
  int four = 0;
  int two = 0;
  int one = 0;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      two++;
    else
      one++;
  }
  if (one > four || (one == four + 1 && two != 0))
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
