N = int(input())
*a, = map(int, input().split())
two, four = 0, 0
for i in range(N):
    if a[i] % 2 == 0:
        two += 1
    if a[i] % 4 == 0:
        four += 1

if (two >= max(0, (N-4)) and four >= 2) or four >= N//2:
    print("Yes")
else:
    print("No")
