#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n;
  cin >> n;
  int num[3];
  for (int i = 0; i < n; i++) {
    ll a;
    cin >> a;
    num[a % 4]++;
  }
  string ans;
  int key = n - num[2];
  if (num[0] * 2 >= key)
    ans = "Yes";
  else
    ans = "No";
  cout << ans << endl;
}
