n = int(input())
odd = 0
even = 0
four = 0
for i in list(map(int,input().split())):
    if i % 4 == 0:
        four += 1
    elif i % 2 == 0:
        even += 1
    else:odd += 1
if four == 0:
    if even == n:
        print("Yes")
    else:print("No")
elif even+odd <= four+2:
    print("Yes")
elif four >= odd+even%2:
    print("Yes")
else:print("No")