N = int(input())
a = list(map(int,input().split(" ")))
b1 = 0
b2 = 0
b4 = 0
for i in range(len(a)):
    if a[i]%4 == 0:
        b4 += 1
    elif a[i]%2 == 0:
        b2 +=1
    else:
        b1 +=1
# print("{0},{1},{2}".format(b1,b2,b4)) 
# ?print(value, sep, end, file, flush)
b4 += b2//2
b1+=b2%2
# if b2 > 1:
#     b1 += b2%2
if b4 >= b1 - 1:
    print("Yes")
else:
    print("No")
