#include<bits/stdc++.h>

int main()
{
    int n;
    std::cin>>n;
    std::vector<int> v(n);
    int non_e = 0;
    int four = 0;
    for(int i=0;i<n;i++){
        std::cin>>v[i];
        if(v[i]%4==0)four++;
        if(v[i]%2==1)non_e++;
    }
    if(n%2==0)four--;
    std::cout<<(four+1>=non_e?"Yes":"No")<<std::endl;
}