import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.range;

void main()
{
    auto n = readln().chomp().to!int;

    int cnt4, cnt2, cnt1;
    foreach(e; readln().chomp().splitter(' ').map!(to!int)){
        if(e % 4 == 0){
            ++cnt4;
        }else if(e % 2 != 0){
            ++cnt1;
        }else
            ++cnt2;
    }

    if(cnt2 != 0)
        writeln(cnt4 >= cnt1 ? "Yes" : "No");
    else
        writeln(cnt4+1 >= cnt1 ? "Yes" : "No");
}