import sys

def main():
    input = sys.stdin.readline
    N = int(input())
    A = list(map(int, input().split()))

    n4 = 0
    n2 = 0
    for a in A:
        if a % 4 == 0:
            n4 += 1
        elif a % 2 == 0:
            n2 += 1

    if n4 >= N//2:
        return 'Yes'
    elif n2 >= 2 and n4 >= (N - n2) // 2:
        return 'Yes'
    else:
        return 'No'


if __name__ == '__main__':
    print(main())
