def main():
    N = int(input())
    A = list(map(int, input().split()))
    ac = A.count(2)
    if ac % 2 != 0:
        ac -= 1
    n = (N - ac) // 2
    for a in A:
        if a % 4 == 0:
            n -= 1
        if n == 0:
            print('Yes')
            return
    print('No')


main()
