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