#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
int cnt[3];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      cnt[2]++;
    else if (a & 2 == 0)
      cnt[1]++;
    else
      cnt[0]++;
  }
  cout << (cnt[0] <= cnt[2] ? "Yes" : "No") << endl;
  return 0;
}
