import std.stdio, std.string, std.array, std.conv, std.algorithm, std.typecons, std.range, std.container, std.math, std.algorithm.searching, std.functional,std.mathspecial, std.numeric;

void main(){
    auto n=readln.chomp.to!int;
    auto as=readln.split.map!(to!int).array;
    auto fours=as.count!(a=>a%4==0);
    auto odds=as.count!(a=>a%2!=0);
    ((fours-odds>=0 || (fours-odds==-1 && fours+odds==n))?"Yes":"No").writeln;
}
