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 == N or four >= (N-2) or (two >= (N-4) and four >= 2):
    print("Yes")
else:
    print("No")
