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
if c3==0
  if c1>0 or c2==1
    puts 'No'
  else
    puts 'Yes'
  end
else
  if c1==c3
    puts 'Yes'
  else
    if c3>=c1-1
      if c2==1 && c3==c1-1
        puts 'No'
      else
        puts 'Yes'
      end
    else
      puts 'No'
    end
  end
end
