#include<bits/stdc++.h>
using namespace std;
const int maxn = 1e5+7;
int cnt,cnt2,cnt4;
int a[maxn];
int n;
int main()
{
   scanf("%d",&n);
   for(int i=1;i<=n;i++){
    scanf("%d",&a[i]);
    if(a[i]%4==0) cnt4++;
    else if(a[i]%2==0) cnt2++;
    else cnt++;
   }
   //cnt=n-cnt2-cnt4;
   if(cnt>cnt4+1 || (cnt2 && (cnt==cnt4+1))) puts("No");
   else puts("Yes");
   return 0;
}
