input()
a = list(map(int, input().split(' ')))
def solve(a):
    for i in range(len(a)):
        for j in range(len(a)):
            if i != j:
                if (a[i] + a[j]) % 4 == 0:
                    return 'YES'
    return 'NO'
print(solve(a))
    
