#include <bits/stdc++.h>
using namespace std;
#define MAX 123123
int a[MAX],N;

int main(){
  cin >> N;
  int n4=0,odd=0;
  for(int i=0;i<N;i++){
    cin >> a[i];
    if(a[i]%4==0)n4++;
    if(a[i]%2==1)odd++;
  }
  if(n4>=odd)cout << "Yes" << endl;
  else if(n4+odd==N&&n4+1>=odd) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}
