n = int(input()) l = list(map(int,input().split())) ok1=n%2 a=l[1] if ok1: for i in range(n-1): a+=l[i] if not a%2: ok1=0 if ok1: print('Yes') else: print('No') else: for i in range(n-1): a+=l[i] if a%2: ok1=1 if ok1: print('No') else: print('Yes')