#include<bits/stdc++.h>

using namespace std;
int main()
{
    int n, x, cnt=0, i, cnt2=0;
    cin >> n;
    for(i=0;i<n;i++)
    {
        cin >> x;
        if(x%4==0) cnt++;
        else if(x%2==0) cnt2++;
    }
    cnt += cnt2/2;
    if(cnt*2+1 >= n) puts("Yes");
    else puts("No");
    return 0;
}
