n = int(input())

li_a = list(map(int, input().split()))

number2 = li_a.count(2)

wk = (n - (number2 // 2)) // 2

if len([x for x in li_a if x % 4 == 0]) + (number2 // 2) >= wk:
    print("Yes")
else:
    print("No")
