io = STDIN
n=io.gets.to_i
a=io.gets.split.map(&:to_i)
c1=a.select{|x|x.odd?}.size
c2=a.select{|x|x%4!=0&&x.even?}.size
c3=a.select{|x|x%4==0}.size
cond1= if (c2==1)
           c3>=c1+c2-1
       else
         c3>=c1-1
       end
cond2 = if c2==1 && c3==0
          false
        else
          true
        end
if cond1&&cond2
  puts 'Yes'
else
  puts 'No'
end
