
import numpy as np
M = int(input()) 
lst = list(map(int, input().split()))

N = len(lst)
lst = np.array(lst)
num4k = len(lst[np.where(lst % 4 == 0)])
num2k = len(lst[np.where((lst % 4 != 0) & (lst % 2 == 0))])
if N % 2 == 0:
    if N<=num4k*2:
        print('Yes')
    elif (num4k+num2k)*2 >= N+1:
        print('Yes')
    else:
        print('No')
else:
    if N-1 <= num4k*2:
        print('Yes')
    elif (num4k+num2k)*2 >= N+2:
        print('Yes')
    else:
        print('No')