N = int(input())
A = [int(s) for s in input().split()]

def main():
    a = A
    if a.count(2) > 2:
        a = list(filter(lambda n: n != 2, a))
    total = len(a)
    passed = len(list(filter(lambda n: n % 4 == 0, a)))
    ans = 'Yes' if passed >= total // 2 else 'No'
    print(ans)

if __name__ == '__main__':
    main()