#include <cstdio>
using namespace std;

int main() {
    int n;
    scanf("%d", &n);
    int cnt4 = 0, cnt2 = 0;
    for (int i = 0; i < n; i++) {
        int x;
        scanf("%d", &x);
        if (x % 4 == 0) cnt4++;
        else if (x % 2 == 0) cnt2++;
    }
    if (cnt4 + cnt2 / 2 >= n / 2) puts("Yes");
    else puts("No");
    return 0;
}