#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
constexpr int INTMAX = numeric_limits<int>::max();
constexpr int INTMIN = numeric_limits<int>::min();
constexpr ll LLMAX = numeric_limits<long long>::max();
constexpr ll LLMIN = numeric_limits<long long>::min();
constexpr int MOD = 1000000007;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
using namespace std;
signed main() {
  int n;
  cin >> (n);
  int cnt2 = 0;
  int cnt4 = 0;
  for (int i = 0; i < n; i++) {
    int t;
    cin >> t;
    if (t % 4 == 0)
      cnt4++;
    else if (t % 2 == 0)
      cnt2++;
  }
  if (cnt4 + 1 + cnt2 / 2 >= n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
