#include<cstdio>
const int maxn = 100010;
int luck[maxn];
int main(){
    int n;
    int countluck,countunluck;
    scanf("%d",&n);
    for(int i = 0;i < n;i++){
        scanf("%d",luck[i]);
    }
    for(int i = 0;i < n;i++){
        if(luck[i] % 4 == 0){
            countluck++;
        }else{
            countunluck++;
        }
    }
    if(countunluck - 1 > countluck){
        printf("No\n");
    }else{
    printf("Yes\n");
    }
    return 0;
}
