N = int(input())
A = list(map(int,input().split()))
odds = len(list(filter(lambda x: x%2 == 1,A)))
baisu4 = len(list(filter(lambda x: x%4 == 0,A)))
evens = N-odds
if odds%2 == 0 and baisu4 >= 2*odds:
        print('Yes')
elif 2*baisu4 >= odds:
    print('Yes')
else:
    print("No")

