#include <bits/stdc++.h>
using namespace std;
long long gcm(long long a, long long b);
long long lcm(long long a, long long b);
int main() {
  int n;
  cin >> n;
  int odd = 0;
  int even = 0;
  int weven = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      weven++;
    else if (a % 2 == 0)
      even++;
    else
      odd++;
  }
  n -= 3 * weven;
  if (n > 0) {
    n -= even / 2 * 2;
  }
  if (n > 0) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
