#include <iostream>
using namespace std;

int main()
{
    int n;
    cin >> n;
    int oddCnt = 0;
    int evenCnt = 0;
    int fourCnt = 0;
    for(int i = 0; i < n; ++i)
    {
        int t;
        cin >> t;
        if(t % 4 == 0)
        {
            ++fourCnt;
        }
        if(t % 2 == 0)
        {
            ++evenCnt;
        }
        else
        {
            ++oddCnt;
        }
    }
    
    int nhalf = n/2;
    if(n%2 != 0)
    {
        ++nhalf;
    }

    string str = "No";
    if( (n == 3 && fourCnt >= 1)
    ||  (oddCnt <= 2 && fourCnt >= oddCnt && evenCnt >= n - oddCnt)
    ||  (foutCnt >= n/2)
    ||  (evenCnt == n) )
    {
        str = "Yes";
    }

    cout << str << endl;


}