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