#include<stdio.h>
int main()
{
    int N,i,b,c,d;
    printf("Input\n");
    scanf("%d",&N);
    int a[N];
    for(i=0;i<N;i++)
        scanf("%d",&a[i]);
    b=0;c=0;
    for(i=0;i<N;i++){
        if(a[i]%4==0)
            b++;
        if(a[i]%2==0)
            c++;
    }
    d=(c-b)/2+b;
    if(d>=N/2)
            printf("Yes");
    else printf("No");
    return 0;
}
