N = int(input())
a_list = list(map(int, input().split()))
fours = []
twos = []
others = []

for a in a_list:
    if a % 4 == 0:
        fours.append(a)
    elif a % 2 == 0:
        twos.append(a)
    else:
        others.append(a)
if len(fours) - len(others) == -1 and len(twos) > 0:
    print('No')
    exit()

if len(fours) - len(others) < 0 :
    print('No')
    exit()

if len(fours) == 0 and len(twos) < 2:
    print('No')
    exit()

print("Yes")