/**
 *      ABC 69 C
 *      author  : kyomukyomupurin
 *      created : 2018-09-08 08:09:34
**/

#include <bits/stdc++.h>
using namespace std;

int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    
    int N; cin >> N;
    int a[N] = {};
    for (int i = 0; i < N; ++i) {
        cin >> a[i];
    }

    int count4 = 0; int count2 = 0;
    for (int i = 0; i < N; ++i) {
        if (a[i] % 4 == 0){
            ++count4;
        }
        else if (a[i] % 2 == 0){
            ++count2;
        }
    }
    (count4 * 2 + count2 >= N) ? cout << "Yes" : cout << "No";

    return 0;
}