import std.stdio, std.string, std.range, std.conv, std.array, std.algorithm, std.math, std.typecons;

void main() {
    auto N = readln.chomp.to!int;
    auto a = readln.split.to!(int[]);
    auto y = a.filter!"a%2==0&&a%4".walkLength;
    auto z = a.filter!"a%4==0".walkLength;
    auto x = N-y-z;

    writeln(() {
        if (x == z + 1) return y == 0;
        else if (x > z + 1) return false;
        else return true;
    }() ? "Yes" : "No");
}

