#include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vs = vector<string>;
using vll = vector<long long int>;
using vvi = vector<vi>;
const long long int MOD = 1e9 + 7;
int main() {
  int N;
  cin >> N;
  int count4 = 0;
  int count2 = 0;
  for (long long int i = 0; i < N; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0)
      count4++;
    else if (x % 4 != 0 && x % 2 == 0)
      count2++;
  }
  int n = 2 * count4 + count2;
  if (n >= N)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
