#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
using namespace std;
#define LL long long

int n, num2;
int num4;
int a[100005];

int main()
{
    while(~scanf("%d", &n))
    {
        for(int i = 1; i <= n; ++i)
        {
            scanf("%d", &a[i]);
            if(a[i] == 2) num2++;
            if(a[i] % 4 == 0) num4++;
        }
        if(num2 >= 2)
            n -= num2;
        if(num4 == 0)
        {
            printf("No\n");
            continue;
        }
        if(n % 2 == 0)
        {
            if(num4 >= n / 2)
            {
                printf("Yes\n");
                continue;
            }
        }
        if(n % 2 == 1)
        {
            if(num4 >= (n - 1) / 2)
            {
                printf("Yes\n");
                continue;
            }
        }
        printf("No\n");
    }
}
