N = int(input())
a = list(map(int,input().split()))
odd = by2 = by4 = 0
for c in a:
    if c % 4 == 0:by4 += 1
    elif c % 2 == 0:by2 += 1
    else:odd += 1

if N == 2:
    if by4>=1:print('Yes')
    elif by2 == 2:print('Yes')
    else:print('No')
elif N == 3:
    if odd == 3:print('No')
    elif odd==2:
        if by4==1:print('Yes')
        else:print('No')
    elif odd==1:
        if by4>=1:print('Yes')
        else:print('No')
    else:print('Yes')
else:
    if by2 > 0:
        if by4-odd>=0:print('Yes')
        else:print('No')
    else:
        if by4-odd>=1:print('Yes')
        else:print('No')