#include <iostream>
#include <vector>
#include <limits>
#include <boost/range/irange.hpp>
#include <boost/range/adaptors.hpp>

using namespace std;
using namespace boost;
using uint = unsigned int;
using ll = long long int;
using ull = unsigned long long int;

int main() {
    uint N;
    cin >> N;
    uint a0{0}, a1{0}, a2{0};
    for (auto &&i: irange(0U, N)) {
        uint a;
        cin >> a;
        if (a % 2 == 0) {
            a /= 2;
            if (a % 2 == 0) {
                a2++;
            } else {
                a1++;
            }
        } else {
            a0++;
        }
    }
//    cout << a0 << " " << a1 << " " << a2 << endl;
    if (a1==0){
        if (a0+1 <= a2){
            cout << "Yes";
        }else {
            cout << "No";
        }
    } else {
        if (a0 <= a2){
            cout << "Yes";
        } else {
            cout << "No";
        }
    }

    return 0;
}