n = int(input())
a = list(map(int, input().split()))

one = 0
two = 0
four = 0
for x in a:
    if x % 4 == 0:
        four += 1
    elif x % 2 == 0:
        two += 1
    else:
        one += 1

if (two != 1 and four >= one - 1) or four >= one+two-1 or one==1:
    print("Yes")
else:
    print("No")
