import sys
import numpy as np
input = sys.stdin.readline
N = int(input())
a = [int(x) for x in input().split()]
a = np.array(a)
a_o = np.count_nonzero(a % 2 == 1)
a_4 = np.count_nonzero(a % 4 == 0)
if a_o == 1 and a_4 == 0:
    print("No")
    sys.exit()
if a_o == 2 and a_4 == 1 and N == 3:
    print("Yes")
    sys.exit()
if a_o == 2 and a_4 < 2:
    print("No")
    sys.exit()
if a_o > 3 and a_4 < 2 + (a_o - 2) * 2:
    print("No")
    sys.exit()
print("Yes")
