import collections as col


if __name__ == "__main__":
    n = int(input())
    a = map(int, input().split())

    a = [el%4 for el in a]
    count = col.Counter(a)

    if count[1] + count[3] >= 1:
        if count[0] >= count[1]:
            print('Yes')
        elif count[1] + count[3] == count[0] + 1 and count[2] == 0:
            print('Yes')
        else:
            print('No')

    else:  # count[1] == 0
        if count[0] >= 1:
            print('Yes')
        elif count[2] >= 2:
            print('Yes')
        else:
            print('No')
