#include <cstdio>
int main()
{
    int n, deal;
    int four = 0, two = 0, odd = 0;
    scanf("%d", &n);
    while (n--)
    {
        scanf("%d", &deal);
        if (deal % 4 == 0)
            four++;
        else if (deal % 2 == 0)
            two++;
        else
            odd++;
    }
    if (two == 0)
    {
        if (four >= odd - 1)
            printf("Yes");
        else
            printf("No");
    }
    else if (four >= odd)
        printf("Yes");
    else
        printf("No");
}