N = int(input())
a_list = list(map(int, input().split()))

even = 0
four_count = 0
result = 'No'

for i in a_list:
    if i % 2 == 0:
        even += 1
        if i % 4 == 0:
            four_count += 1

odd = N - even

if (odd <= four_count) or (odd - 1<= four_count and even == 0):
    result = 'Yes'

print(result)
