#include <bits/stdc++.h>
using namespace std;
int N;
int a[100010];
int main() {
  cin >> N;
  int fourCount = 0;
  int twoCount = 0;
  int oddCount = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      fourCount++;
    } else if (a[i] % 2 == 0) {
      twoCount++;
    } else if (a[i] % 2 == 1) {
      oddCount++;
    }
  }
  if (oddCount >= 1) {
    if (twoCount >= 1) {
      oddCount++;
    }
    if (oddCount <= fourCount + 1) {
      cout << "Yes";
    } else {
      cout << "No";
    }
  }
  return 0;
}
