#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
long long lcm(long long a, long long b) { return a / gcd(a, b) * b; }
int const INF = 1001001001;
long long const MOD = 1000000007;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N;
  cin >> N;
  int k = 0;
  int l = 0;
  int m = 0;
  for (int i = 0; i < (N); ++i) {
    int a;
    cin >> a;
    if (a % 2 == 1) k++;
    if (a % 2 == 0 && a % 4 != 0) l++;
    if (a % 4 == 0) m++;
  }
  if (m == 0 && k >= 1) {
    cout << "No" << endl;
    return 0;
  }
  if (m + 1 < k)
    cout << "No" << endl;
  else if (m + 1 == k && l == 1)
    cout << "No" << endl;
  else if (m + 1 == k && l != 1)
    cout << "Yes" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
