#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
    int n,a,c1=0,c2=0,b;
    while(cin>>n)
    {


    for(int i=0;i<n;i++)
    {
        scanf("%d",&a);
        if(a%4==0) c1++;
        else if(a%2==0) c2++;
    }
    c1+=c2/2;
    if(c1>=n/2) printf("Yes");
    else printf("No");
    }
}
