n = int(input())
*a, = map(int, input().split())

m = len(list(filter(lambda x: x%4 == 0, a)))
m += len(list(filter(lambda x: x == 2, a)))//2
m += len(list(filter(lambda x: x%4 != 0 and x != 2 and x%2 == 0, a)))//2

print("Yes" if abs((n-m) - m) <= 1 else "No")
