N = input()
N = int(N)
a = input()
nums = a.split()
counter = 0
semi = 0
for i in range(N):
    n = int(nums[i])
    if n % 4 == 0:
        counter += 1
    elif n % 2 == 0:
        semi += 1
    else: continue
if counter >= N // 2 :
    print("Yes")
elif counter == 0 & semi == N:
    print("Yes")
elif semi > (N//2 - counter):
    print("Yes")
else:
    print("No")
