#!/usr/bin/env python3
import sys, math, fractions, itertools

YES = "Yes"  # type: str
NO = "No"  # type: str

def solve(N: int, a: "List[int]"):
    four = len([aa for aa in a if aa % 4 == 0])
    two = len([aa for aa in a if (aa % 4 != 0 and aa % 2 == 0)])
    if two < 2:
        ex = four * 3
    else:
        if four > 0:
            ex = two + 2 + (four-1) * 3
        else:
            ex = two
    if ex >= N:
        print('Yes')
    else:
        print('No')
    return


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    a = [ int(next(tokens)) for _ in range(N) ]  # type: "List[int]"
    solve(N, a)

if __name__ == '__main__':
    main()
