import itertools
n = int(input())
a = list(map(int,input().split()))

four = len([1 for i in a if i%4 == 0])
two = len([1 for i in a if i%2 == 0]) - four
four += two//2
if four >= n-four-1:
    print('Yes')
else:
    print('No')
