#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) { return b != 0 ? gcd(b, a % b) : a; }
long long lcm(long long a, long long b) { return a * b / gcd(a, b); }
int main() {
  long long n, a, cnt2 = 0, cnt4 = 0;
  cin >> n;
  for (long long i = 0; i < (long long)(n); i++) {
    cin >> a;
    if (a % 4 == 0)
      cnt4++;
    else if (a % 2 == 0)
      cnt2++;
  }
  cout << (2 * cnt4 + cnt2 - 1 >= n ? "Yes" : "No") << endl;
  return 0;
}
