#!usr/bim/python
#! -*- coding: utf-8 -*-

n = raw_input()
n = int(n)

a = raw_input()
a = a.split()
a = map(int,a)

count_2 = 0
count_4 = 0

for i in a:
    if i % 4 == 0:
        count_4 += 1
    elif i % 2 == 0:
        count_2 += 1

if count_4 >= n/2:
    print "Yes"
elif count_4*2 + count_2 >= n:
    print "Yes"
else:
    print "No"
