#include<bit_s/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define ll long long
using namespace std;

int main() {
  int n;
  cin >> n;
  vector<int> cnt(4);
  rep(i, n) {
    int x;
    cin >> x;
    cnt[x%4]++;
  }
  
  int x = cnt[1] + cnt[3];
  int y = cnt[0];

  if(y + 1 < x)cout<<"No"<<endl;
  else cout<<"Yes"<<endl;
}
