//0:58
#include <stdio.h>
#include <string.h>
#include <algorithm>

// 2の倍数-2の倍数
// 1の倍数-4の倍数 4の倍数-1の倍数
// 1-4-1-4-1-4-1-2-2-2-2

typedef long long ll;
ll max(ll a, ll b){return(a>b)?a:b;}
ll min(ll a, ll b){return(a<b)?a:b;}
ll abs(ll a){return(a<0)?-a:a;}

ll gcd(ll a, ll b){
        if(b > a){
                ll tmp = b;
                b = a;
                a = tmp;
        }
        if(b == 0) return a;
        else return gcd(b, a%b);
}
ll lcm(ll a, ll b){
        ll gcdi = gcd(a,b);
        return a/gcdi*(b);
}

int cnt1 = 0;
int cnt2 = 0;
int cnt4 = 0;
int main(){
        int N;
        scanf("%d",&N);
        ll a;
        for(int i = 0; i < N; i ++){
                scanf("%lld",&a);
                if(a % 4 == 0){
                        cnt4++;
                }else if(a % 2 == 0){
                        cnt2++;
                }else{
                        cnt1++;
                }
        }
        if(cnt1 <= cnt4+1) puts("Yes");
        else puts("No");
}