#include<stdio.h>
#include<string.h>
#include<iostream>
#include<algorithm>

using namespace std;
int a[10005];
int main()
{
    int n;
    while(~scanf("%d",&n))
    {
        int m4=0,m2=0,m1=0;
        for(int i=0;i<n;i++)
        {
            scanf("%d",&a[i]);
            if(a[i]%4==0)m4++;
            else if(a[i]%2==0)m2++;
            else m1++;
        }
        if(m1>m4+1||(m1==m4+1&&m2!=0))printf("No\n");
        else printf("Yes\n");
    }
    return 0;
}
