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

divs = [a%4 for a in a_list]
mp_of_four = divs.count(0)
mp_of_two  = divs.count(2) 

if mp_of_four+mp_of_two//2 >= n//2:
    print('Yes')
else:
    print('No')