#include <bits/stdc++.h>
using namespace std;


int main(void)
{
    int N;
    cin >> N;
    int a[N];
    int b[N] = {0};
    int sum = 0;
    for( int i = 0; i < N; i++){
        cin >> a[i];
    }
    for( int i = 0; i < N; i++){
        if( a[i] % 4 == 0){
            b[i] = 2;
        }
        else if( a[i] % 2 == 0){
            b[i] = 1;
        }
        sum += b[i];
    }
    if( N % 2 == 1){
        if( sum / (double)(N-1) > 1){
            printf("Yes");
        }else{
            printf("No");
        }
    }else{
        if( sum / (double)N >= 1){
            printf("Yes");
        }else{
            printf("No");
        }
    }

    return 0;
}