#include <bits/stdc++.h>
using namespace std;
const int INF = 1000000007;
int main() {
  int n;
  cin >> n;
  int odd = 0, cnt2 = 0, cnt4 = 0;
  int a[110000] = {0};
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 != 0)
      odd++;
    else if (a[i] % 2 == 0) {
      cnt2++;
      if (a[i] % 4 == 0) cnt4++;
    }
  }
  if (n <= 3) {
    if (cnt4 >= 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (cnt2 == n)
      cout << "Yes" << endl;
    else if (odd <= cnt4)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
