#include<bits/stdc++.h>
using namespace std;

int main(){
  int N; cin >> N;
  int b1 = 0, b2 = 0, b4 = 0;
  for(int i = 0; i < N; i++){
    int a; cin >> a;
    if(a % 4 == 0) b4++;
    else if(a % 2 == 0) b2++;
    else b1++;
  }
  if(b2 == 0) cout << ((b4 + 1 >= b1)?"Yes":"No");
  else cout << ((b4 >= b1)?"Yes":"No");
}